Skip to content
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

Send SIGHUP to the process group in the terminal, not just the leader #38

Merged
merged 1 commit into from
Nov 15, 2017

Conversation

takluyver
Copy link
Member

Closes gh-37

@sknepal could you try this out and see if it fixes your issue with firejail?

@sknepal
Copy link

sknepal commented Jul 31, 2017

Firejail is still around. Doesn't seem to fix the issue.

@takluyver
Copy link
Member Author

Myeh. Maybe part of its sandboxing involves launching the child in a new process group, so it still doesn't get the signal.

Have a look for any options for firejail to quit on SIGHUP. Or work out if there's something else you can do to make it quit, e.g. another signal. If so, you can subclass UniqueTermManager and override its client_disconnected method.

@takluyver takluyver merged commit e419aba into master Nov 15, 2017
@takluyver takluyver deleted the sighup-pg branch November 15, 2017 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminado with a Sandbox program
2 participants