-
Notifications
You must be signed in to change notification settings - Fork 146
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
quit from attached kernel with keep_kernel=True at console when Ctrl-\ is pressed #126
Comments
We're not catching SIGQUIT, but I think that prompt_toolkit puts the terminal into a mode where Ctrl-\ is not automatically translated to a signal. We can probably handle it as a shortcut ourselves and implement similar behaviour. |
lebedov
added a commit
to lebedov/ipyk
that referenced
this issue
Jul 17, 2017
takluyver
added a commit
to takluyver/jupyter_console
that referenced
this issue
Aug 4, 2017
Closes jupytergh-126
Merged
#130 adds Ctrl-\ as a shortcut. |
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the past, it was possible to exit an ipython console instance connected to a running kernel without terminating the latter by pressing Ctrl-. With ipython 5.3.0, jupyter-console 5.1.0, and ipykernel 4.6.1 (used with Python 2.7.13), this no longer appears to be the case; I have to manually run quit(keep_kernel=True), and Ctrl-\ doesn't have any effect. Does the console frontend catch SIGQUIT? If so, is there some way to enable the old behavior (either programatically or via a config option)?
The text was updated successfully, but these errors were encountered: