4

Can someone please tell me how I can detach from an IPython kernel without terminating it?

I see in the documentation of quit() that there is a parameter keep_kernel, but unfortunately quit(keep_kernel=True) won't work.

1

1 Answer 1

2

If you are connected to the kernel via the IPython console client and are on a Unix-like OS, you can detach using Ctrl-\

Sign up to request clarification or add additional context in comments.

2 Comments

Update: this no longer appears to be the case (at least with IPython 5.3.0 and Python 2.7.13).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.