How to kill Python interpreter from the command line?

Thomas Bellman bellman at lysator.liu.se
Sat May 10 05:45:42 EDT 2008


Jean-Paul Calderone <exarkun at divmod.com> wrote:

>                    (Ctrl+Z which sends SIGSTOP and _cannot_ be masked
> or otherwise ignored)

Bzzt!  Ctrl-Z causes a SIGTSTP to be sent, not SIGSTOP, and
SIGTSTP can be both caught, ignored and masked.


-- 
Thomas Bellman,   Lysator Computer Club,   Linköping University,  Sweden
"You cannot achieve the impossible without   !  bellman @ lysator.liu.se
 attempting the absurd."                     !  Make Love -- Nicht Wahr!



More information about the Python-list mailing list