-
-
Notifications
You must be signed in to change notification settings - Fork 414
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
Interrupting the kernel does not work on Windows #503
Comments
Presumably related to quinnj/Sublime-IJulia#33. |
Jupyter is supposed to be sending a SIGINT to the kernel process. @minrk, does it do something different on Windows, since signals work differently there? |
Yes, signals are weird on Windows, so we send a Windows Event here, created here. The event is passed as the JPY_INTERRUPT_EVENT environment variable (an integer). IPython's handling of this is here. I have a vague recollection that this was because when the kernel is given a new process group, it can no longer be interrupted. I opened jupyter/jupyter_client#244 to document this, and possibly revert to sending plain signals on Windows. |
This might be related: jupyter/jupyter_client#104 |
Since I had the same issue with my Erlang Jupyter kernel, I've added an |
This would be a big improvement! Not being able to interrupt a calculation is super bad.... Thanks for working on it! |
@filmor Did you make any progress here? |
I did (well, actually only after you pinged and I looked into it again ;)), it works for me and is pending review. |
I am running IJulia v1.4.1 on Julia v0.5.0 under Windows 10.
I am unable to interrupt the kernel during a computation with Julia running on Windows, despite being able to interrupt the same operations without issue with Julia running on Linux. This is not a new issue - I have been using IJulia for about a year (mostly with Julia v0.4.x) and have never so far found the kernel interrupt feature to work on Windows.
In summary: The "interrupt" option in the "Kernel" menu appears to do nothing except flash the message "Interrupting the kernel" when the kernel is running on Windows.
The text was updated successfully, but these errors were encountered: