-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
Can't terminate notebook()
function in Julia REPL in 1.8 on Windows
#1048
Comments
notebook()
function in Julia REPL in 1.8-rc3 on Windowsnotebook()
function in Julia REPL in 1.8 on Windows
Edited to add that this isn't fixed by using 1.8 stable release. There's a related Pluto issue here: fonsp/Pluto.jl#2136 |
Some slightly different results for Debian 11 (bullseye): Julia 1.8.0, JupyterLab Terminal julia> using IJulia
julia> notebook()
[ Info: running `/usr/local/bin/jupyter notebook`
^C^C^C^C^C^CWARNING: Force throwing a SIGINT
Process(setenv(`/usr/local/bin/jupyter notebook`; dir="/home/benz0li"), ProcessExited(0))
julia> Julia 1.8.0, code-server (aka VS Code) Terminal, Julia REPL julia> using IJulia
julia> notebook()
[ Info: running `/usr/local/bin/jupyter notebook`
^C
Process(setenv(`/usr/local/bin/jupyter notebook`; dir="/home/benz0li"), ProcessExited(0))
julia> ℹ️ May be reproduced at https://demo.jupyter.b-data.ch or with |
I opened a Julia issue about a change in interrupt behaviour on Julia 1.8, which I suspect to be the cause here. So far I only have my result on MacOS, perhaps someone using a different OS could try to reproduce the issue, and leave a comment with their |
In Pluto, we were able to work around this issue, see fonsp/Pluto.jl#2293 , maybe the same technique would also work for IJulia! See JuliaLang/julia#46635 for a discussion about this workaround and alternatives. |
In 1.7.3 I can do:
In 1.8-rc3 this doesn't work (tested on both
cmd.exe
andpowershell
):and the whole Julia session is dead.
The text was updated successfully, but these errors were encountered: