** Changed in: gnome-terminal
Status: Unknown => Confirmed
** Changed in: gnome-terminal
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1726380
Title:
Option “-e” is deprecated and might be removed in a later version of
gnome-terminal
Status in GNOME Terminal:
Confirmed
Status in gnome-terminal package in Ubuntu:
Confirmed
Bug description:
After upgrading from Ubuntu 17.04 to 17.10, I get a warning about that
option -e is deprecated when starting gnome-terminal from the command
line. For example, assume I want to open a gnome-terminal with two
tabs, and running separate commands in each tab:

$ gnome-terminal --tab --active -e 'bash -c "echo Hello; exec bash"' --tab -e
'bash -c "echo Hello2; exec bash"'
Option “-e” is deprecated and might be removed in a later version of
gnome-terminal.
Use “-- ” to terminate the options and put the command line to execute after
it.
Option “-e” is deprecated and might be removed in a later version of
gnome-terminal.
Use “-- ” to terminate the options and put the command line to execute after
it.
But how can I run separate commands for each tab if I am supposed to use --
to terminate the options? For example, the following does not work:

$ gnome-terminal --tab --active -- bash -c "echo Hello; exec bash" --tab --
bash -c "echo Hello2; exec bash"
It just opens a single tab.
See also:
https://askubuntu.com/q/968032/156688
--- System information:
$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
$ apt-cache policy gnome-terminal
gnome-terminal:
Installed: 3.24.2-0ubuntu4
Candidate: 3.24.2-0ubuntu4
Version table:
*** 3.24.2-0ubuntu4 500
500 http://no.archive.ubuntu.com/ubuntu artful/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-terminal/+bug/1726380/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp