How to logout from a Python Program?

Jeremy Yallop jeremy at jdyallop.freeserve.co.uk
Thu Oct 10 17:28:41 EDT 2002


* Wayne Pierce
| What about os.system("logout")?

os.system() runs a new shell.  Furthermore, 'logout' doesn't exist in
all shells (the Bourne and Korn shells, for instance, don't have it).

Jeremy.



More information about the Python-list mailing list