Message101195
As far as I can tell, it does not *crash* the interpreter. Instead, it replaces the python interpreter process with a "true" utility.
$ ./python.exe
Python 2.7a4+ (trunk:78816M, Mar 9 2010, 18:57:13)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os; os.execlp('true')
$ echo $?
0
$ ./python.exe
Python 2.7a4+ (trunk:78816M, Mar 9 2010, 18:57:13)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os; os.execlp('false')
air:trunk sasha$ echo $?
1 |
|
Date |
User |
Action |
Args |
2010-03-16 22:34:21 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, doko, benjamin.peterson |
2010-03-16 22:34:21 | Alexander.Belopolsky | set | messageid: <1268778861.0.0.595651157572.issue8154@psf.upfronthosting.co.za> |
2010-03-16 22:34:19 | Alexander.Belopolsky | link | issue8154 messages |
2010-03-16 22:34:18 | Alexander.Belopolsky | create | |
|