<div class="gmail_quote">2011/5/25 Omar Andrés Zapata Mesa <span dir="ltr"><<a href="mailto:andresete.chaos@gmail.com">andresete.chaos@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

but it produce an error in the ipkernel module</blockquote></div><br>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.<br>

<br>Thomas<br>