Public bug reported:
Binary package hint: gnome-terminal
"gnome-terminal -e some_program"
usually (if another gnome-terminal is already running) returns immediately;
most other terminal emulators (e.g. xterm) return only after the program
finishes, which is much more convenient when opening programs in a terminal
from scripts.
"gnome-terminal --disable-factory -e some_program"
does wait, which solves the issue - unless you're writing a portable script and
use
"x-terminal-emulator -e some_program"
where you'll get different behavior depending on the alternative selected for
x-terminal-emulator.
And you can't use "x-terminal-emulator --disable-factory -e some_program"
because xterm etc. will barf on it.
IMHO, gnome-terminal itself should always wait for the command to return.
But defaulting to no-factory mode would lose all benefits for which the factory
was created;
waiting for completion notification from the factory would solve it better but
I have no idea if it's easy to implement.
An easier solution is to always add --disable-factory in gnome-terminal.wrapper.
This would keep the behavior of "gnome-terminal" but unify the behavior of
"x-terminal-emulator".
** Affects: gnome-terminal (Ubuntu)
Importance: Undecided
Status: New
--
gnome-terminal.wrapper doesn't wait until program finishes
https://bugs.launchpad.net/bugs/666418
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs