Message101203
it does crash:
$ python
Python 2.6.5rc2 (r265rc2:78822, Mar 11 2010, 13:01:50)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.execlp('true')
Segmentation fault (core dumped)
arg[0] (the command name) must be part of the second parameter.
side notice: the execlpe looks inconsistent (both 2.x and 3.x).
>>> os.execlpe('true')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/os.py", line 335, in execlpe
env = args[-1]
IndexError: tuple index out of range
shouldn't this be a ValueError as well? |
|
Date |
User |
Action |
Args |
2010-03-16 23:46:42 | doko | set | recipients:
+ doko, theller, benjamin.peterson, Alexander.Belopolsky |
2010-03-16 23:46:42 | doko | set | messageid: <1268783202.06.0.353152883783.issue8154@psf.upfronthosting.co.za> |
2010-03-16 23:46:40 | doko | link | issue8154 messages |
2010-03-16 23:46:40 | doko | create | |
|