Message178668
That's a good question. Conceptually it makes sense, but I wonder if programs currently rely on os.execv not cleaning up anything: not only it doesn't call atexit handlers, but it also doesn't try to shutdown the interpreter. Which can be handy if you are using exec() in a fork() + exec() context (I think it is generally recommended to use os._exit(), not sys.exit() in a forked child). |
|
Date |
User |
Action |
Args |
2012-12-31 11:44:15 | pitrou | set | recipients:
+ pitrou, nedbat, neologix |
2012-12-31 11:44:15 | pitrou | set | messageid: <1356954255.1.0.769553858844.issue16822@psf.upfronthosting.co.za> |
2012-12-31 11:44:15 | pitrou | link | issue16822 messages |
2012-12-31 11:44:14 | pitrou | create | |
|