gnome-terminal.wrapper doesn't wait until program finishes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
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-
where you'll get different behavior depending on the alternative selected for x-terminal-
And you can't use "x-terminal-
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.
This would keep the behavior of "gnome-terminal" but unify the behavior of "x-terminal-
Changed in gnome-terminal (Ubuntu): | |
status: | Incomplete → New |
Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http:// www.ubuntu. com/download to know how to install that version.Thanks in advance and sorry for the late response.