Command-line arg to make gnome-terminal stay open when launched with -e and process completes
@Pointedstick
Submitted by Nate Graham Link to original bug (#778931)
Description
When you open gnome-terminal with -e <some command>
, it executes the command and then immediately closes, which causes the following issues:
- You might have wanted to examine the output before it closed.
- 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?
Version: 3.22.x
Resolution: RESOLVED DUPLICATE