-
Notifications
You must be signed in to change notification settings - Fork 18
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
SIGHUP #77
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever a terminal emulator is closed, the foreground process group gets a
SIGHUP
. If one of those processes is bash (or another shell), it then sends a newSIGHUP
to all non-disown
ed jobs (== process groups).For a program like GearHead, this should be handled as a graceful (but non-prompting) exit, rather than the default action (terminate without dumping core).
However, in case the event loop is not responsive, the program should still terminate - e.g. by calling
alarm(5)
in the signal handler.The text was updated successfully, but these errors were encountered: