Python/Jython - sys.exit()

Jack D. Hammer thisisabogusemail at bogus.thisisabogusdomain.com
Thu Dec 19 01:48:59 EST 2002


Couldn't you call java's exit function System.exit()?

VLP wrote:
> sys.exit() exits the entire program, including all threads
> in Python. But sys.exit() in Jython just exits the
> current thread. Anyone know of a way I can replicate
> the C/Python exit() behaviour in Jython?
> 
> Regards,
> VLP




More information about the Python-list mailing list