How to logout from a Python Program?

Saqib Ali syed_saqib_ali at yahoo.com
Thu Oct 10 10:12:53 EDT 2002


Chris Liechti <cliechti at gmx.net> wrote in message news:<Xns92A3181737F65cliechtigmxnet at 62.2.16.82>...
> Erik Max Francis <max at alcyone.com> wrote in 
> news:3DA4BDBC.27FA2B20 at alcyone.com:

> i think he wants to exit from a gnome or kde session or whatever windowing 
> system. i don't know a solution. i suspect that it's something GUI 
> dependant.
> 
> chris

Yes. That's what I want to do. I want to actually kill the shell from
which the python script was run. For example if somebody has ssh'ed
into my host, and run my python script, at the end of the script, I
want it to terminate the ssh session.



More information about the Python-list mailing list