I'm running a python script with minmover function. After pressing Ctrl + C, the program dies in about 30 seconds. I don't know why it takes so long. Is there a way to kill the job immediately ?
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)...
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 aSIGKILL
, 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)...
Ctrl+Z works.
Thank you for your explaination!