flag, that stops the terminal from dissapearing when the process ends
my program launches gnome-terminal occasionally, for example to give the user an ssh window:
subprocess.
If the process is unsuccessful (ssh in this case) then the terminal disappears immediately, and the user cannot read the error.
I propose a few new flags for gnome-terminal
--sticky-error the terminal window stays behind when the process quits with a non zero returncode
--sticky-success the terminal window stays behind when the process quits with a returncode of zero
--sticky the terminal window stays behind when the process quits with any returncode
how Terminal.app handles this on OSX- when the process quits (for example just pressing ctrl+d in bash) the window prints [process completed] and doesn't disappear.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by