[IPython-dev] Interrupting external kernel on Windows
doug.blank at gmail.com
Mon May 12 14:00:31 EDT 2014
On Mon, May 12, 2014 at 1:49 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> On 12 May 2014 05:58, Doug Blank <doug.blank at gmail.com> wrote:
>> Attempting to interrupt an executing command on a third-party kernel on
>> Windows. In fact, I went back to the simple_kernel , and I couldn't
>> interrupt it either on Windows. Is there some special handling for
>> interrupting a kernel on Windows?
> Yes, it appears there is. On Windows, we make a 'Win32 event' , which
> the kernel process listens for using some machinery in pyzmq . It looks
> like the event number that the child process needs to listen for is
> currently passed to the kernel as a command line argument, which we can
> only do when we know we're starting an IPython kernel - we should probably
> pass it as an environment variable which any kernel can use.
Thanks for tracking that down! It would be good if the lack of a method of
signaling 3rd-party Window's kernels could be considered a bug, so that a
solution can be rolled into a IPython 2 update. Not being able to interrupt
a kernel is a major issue.
Started an item tracker here:
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev