This is a Unix question and not a Pyrosetta question, so maybe StackOverflow can give a better explanation, but Ctr+C sends a SIGINT
as in interrupt, while Ctr+Z sends a SIGKILL
, which for most code is faster as it is as messy as a segfault.
I use Jupyter notebook and the kernel interrupt (stop button) results in a segfault and is slower (a decent couple of seconds) and than restarting the kernel (instantaneous)…