How to logout from a Python Program?

Thomas Bellman bellman at
Fri Oct 11 00:45:20 CEST 2002

Erik Max Francis <max at> writes:

>  Unfortunately, in its standard configuration, an ssh
> tunneled shell is likely to ignore TERM, so you might be forced to use
> KILL, which makes the prospects even less satisfying.

SIGHUP ought to be better.  Shells normally do not ignore that

Thomas Bellman,   Lysator Computer Club,   Linköping University,  Sweden
"Beware of bugs in the above code; I have    !  bellman @
 only proved it correct, not tried it."      !  Make Love -- Nicht Wahr!

More information about the Python-list mailing list