-
-
Notifications
You must be signed in to change notification settings - Fork 575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't revert to shell after receiving SIGTSTP #984
Comments
I wonder if this is more of a question for There is |
Thank you. What I'd like to achieve is to signal that the process running the tview application is suspended, taking me back to the shell from which the process was invoked. You can reproduce this effect by invoking a utility like According to https://www.gnu.org/software/libc/manual/html_node/Job-Control-Signals.html:
The typical behavior is described in this stackexchange post:
I've used Application.Suspend() successfully to invoke a sub-shell. But what I am after here as mentioned above, is to a) temporarily suspend execution on the process and b) return to the shell from which the process was invoked. The Wikipedia article on job control says:
|
First off, thanks for developing this amazing library!
Unexpected behaviour: If I issue a
kill -s SIGTSTP $pid
as a command in a separate terminal, the terminal running the UI continues to display the UI (albeit in SIGTSTPed state). Expected behaviour (seetop
,links
and other utilities) is for the running process to revert to the user's shell.Related question: How do I ensure that Ctrl-Z triggers a SIGTSTP?
The text was updated successfully, but these errors were encountered: