when `--window` is used, `--working-directory` doesn't work depending on the argument position of `--wait`
Hey.
Using version 3.50.1-1 of Debian, the following happens:
With either of:
gnome-terminal --wait --working-directory=/tmp -- sh -c 'pwd; read tmp'
or
gnome-terminal --working-directory=/tmp --wait -- sh -c 'pwd; read tmp'
pwd
prints /tmp
.
But when using --window
in addition:
gnome-terminal --window --wait --working-directory=/tmp -- sh -c 'pwd; read tmp'
prints /tmp
, but:
gnome-terminal --window --working-directory=/tmp --wait -- sh -c 'pwd; read tmp'
prints /home/username
.
Guess that's not how it should be.
Cheers, Chris.