Command to restart kernel
bluss opened this issue · comments
bluss commented
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.