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
Feature Request: CLI method for stopping servers #2350
Comments
nbmanager can stop a notebook server on demand. Even if the GUI is not to your taste, it has a Python API module which can do the same thing. I agree that a command line interface would be good too. |
If you run jupyter as a child of another process, sending a SIGINT is enough to shutdown the server. |
@changhe3 The particular use case that brought this to my attention was running jupyter on a remote server and losing the connection. Of course had I been running it with tmux or screen it wouldn't be an issue but I don't do that 100% of the time Finding the process-id and killing it is easy enough, and it wouldn't take much thought to write a bash-script to do this in one line, but it still seems like if there is a cli command for starting a notebook there should be one for stopping it :) Just a thought. Feel free to close this if you aren't interested or don't have time to address it right now. |
@brookisme Would you like to submit a PR for this feature? The |
Hows this #2388? |
Currently it seems that best method for killing running servers is http://stackoverflow.com/a/38513158
It would be nice to have something more direct. Perhaps...
The text was updated successfully, but these errors were encountered: