[IPython-dev] Interrupting external kernel on Windows
takowl at gmail.com
Mon May 12 13:49:38 EDT 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev