rexec works strange...
Oleg Broytmann
phd at phd.fep.ru
Wed Jun 20 05:49:04 EDT 2001
On 20 Jun 2001, Ivan wrote:
> The following code shows it is possible
> to exit a process from rexec code -
> is this a bug in python rexec module?
> Is there a fix?
Do not allow importing sys. Or catch SystemExit exception and do not
exit. Or pass stripped sys to the protected code - without exit function.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list