Often (e.g. using matlab) I’ve executed some program accidentally. I try to interrupt it by hitting CTRL+C. Sometimes this works, other times it doesn’t and I keep madly hitting it until the program finally stops. Are these extra ctrl+c’s doing anything or is this just a rain dance?
Often (e.g. using matlab) I’ve executed some program accidentally. I try to interrupt it
Share
That is entirely reliant upon how
SIGINTis handled. Chances are your subsequent CTRL+C presses are not doing anything and you are just being impatient while the program tries to clean itself up, though it is possible that a programmer decides to ignore the first n CTRL+C presses then allows n + 1 to exit the program.