[IPython-dev] Zmq Terminal.

Evan Patterson epatters at enthought.com
Wed May 25 11:06:20 EDT 2011

On May 25, 2011, at 5:29 AM, Thomas Kluyver wrote:

> 2011/5/25 Omar Andrés Zapata Mesa <andresete.chaos at gmail.com>
> but it produce an error in the ipkernel module
> I think the problem is that both the frontend and the kernel get to see the Ctrl-C, so there's a KeyboardInterrupt raised in each. I don't know much about how processes fit together, but a bit of fiddling suggests that setting independent to True when you start the kernel (add it to the kwargs dict on line 242) seems to work. I think that might have other effects, though - reading the code, it looks like the kernel will live on if the frontend crashes, which may not be what you want.

Right, if you set 'independent' the kernel process will survive if the frontend process terminates, which usually isn't what you want.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110525/a29eb76e/attachment.html>

More information about the IPython-dev mailing list