Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can not stop "ipython kernel" on windows #2049
^C should not terminate the process, because ^C must be interpreted as a regular sigint and raise KeyboardInterrupt in user code. We don't want ^C to kill the kernel, because then if a user tries to interrupt their own code, the kernel will die. We used to allow ^C to kill the kernel while user code was not running, but this still allowed accidental kernel shutdown if you tried to interrupt your own code, but ended up sending the signal after your code finished. The only sensible answer is for kernels to not be killed by ^C.
We could, however, change the