GNOME Bugzilla – Bug 778931
Command-line arg to make gnome-terminal stay open when launched with -e and process completes
Last modified: 2017-02-20 16:24:21 UTC
When you open gnome-terminal with -e <some command>, it executes the command and then immediately closes, which causes the following issues: 1. You might have wanted to examine the output before it closed. 2. You might have wanted to use that same terminal window to do stuff (for example, re-run the same command). There are various workarounds that can resolve #1 (e.g. append ";bash" or "|| read" to the command) but none of them will resolve #2. It would be nice if you could pass an additional arg to gnome-terminal to make it stay open after the command you asked it to run has completed. Is this a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=491807?
Yes. *** This bug has been marked as a duplicate of bug 491807 ***