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 line / configuration option to disable shutdown confirmation #5745

Closed
ankane opened this issue Sep 11, 2020 · 3 comments
Closed

Command line / configuration option to disable shutdown confirmation #5745

ankane opened this issue Sep 11, 2020 · 3 comments

Comments

@ankane
Copy link

ankane commented Sep 11, 2020

Hi, thanks for this project! It'd be nice if there was the option to disable shutdown confirmation, like:

jupyter notebook --no-confirm-exit

I thought this might be possible with the -y option ("Answer yes to any questions instead of prompting"), but it appears not to answer the shutdown prompt.

jupyter notebook -y
@FlorinAndrei
Copy link

FlorinAndrei commented May 27, 2021

Does anyone know the answer? I need this exact same feature.

EDIT: In Notebook 6.2.0 the -y option doesn't change the shutdown prompt in any way. But if you upgrade to Notebook 6.4.0, then -y will disable the shutdown prompt in my experience.

@kevin-bates
Copy link
Member

Thanks for the update @FlorinAndrei - this was resolved via #5941 in 6.3.0.

@ankane
Copy link
Author

ankane commented May 31, 2021

Awesome, thanks @afshin, @kevin-bates, and @FlorinAndrei!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants