gnome-terminalコマンド実行時に、以下のようなwarningが出る。(例. xeyes実行)
$ gnome-terminal -e "xeyes"
# 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.
deprecateということなので、文面の通り--
を挟んで後ろにコマンド指定するとよい
$ gnome-terminal -- xeyes
以下のようにすると、""
で囲んだ部分が1つのコマンドと思われるようなので注意
$ gnome-terminal -- "xeyes"
参考
Ubuntu – Option “-e” is deprecated and might be removed in a later version of gnome-terminal