terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Options -e and -x open empty terminal

Open k4r7u opened this issue 5 years ago • 3 comments

Executing a command with io.elementary.terminal -n -e "uname -a" or io.elementary.terminal -n -x "uname -a" just opens an empty terminal window. The command is just used as an example here. I can not execute any command with either the -e or the -x flag. This behavior extists since Terminal 5.5.1 or 5.5.0.

k4r7u avatar Jan 11 '20 17:01 k4r7u

The empty terminal issue with the -n flag should be fixed in version 5.5.1. There has been a regression with the -e and -x flags however :-(

jeremypw avatar Jan 11 '20 19:01 jeremypw

As a work around, you should specify the working directory when executing a command:

io.elementary.terminal --working-directory=[path] --execute=[command]

jeremypw avatar Jan 11 '20 19:01 jeremypw

Thank you very much. Specifying any path as working directory allows to use -x and -e together with the -n flag.

k4r7u avatar Jan 11 '20 21:01 k4r7u