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

Command to restart kernel #243

Open
bluss opened this issue May 29, 2021 · 0 comments
Open

Command to restart kernel #243

bluss opened this issue May 29, 2021 · 0 comments

Comments

@bluss
Copy link

bluss commented May 29, 2021

When using a python kernel it would be useful to be able to restart the kernel (like one can do in jupyterlab, for example). Would it be possible to add a command for this, or are there technical limitations?

This differs from %reset in that all memory is properly released and no state is remembered (either in pure python modules or foreign libraries they use).

I have read #211 and it does not offer any real way to do this.

There is an option (in --help-all) called --KernelManager.autorestart= with default True, but if I just SIGTERM the kernel, it is not restarted automatically.

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

No branches or pull requests

1 participant