Message321356
| Author |
serhiy.storchaka |
| Recipients |
alfps, amaury.forgeotdarc, brian.curtin, dstanek, exarkun, ezio.melotti, ggenellina, loewis, nvetoshkin, schmir, serhiy.storchaka, terry.reedy, vstinner |
| Date |
2018年07月10日.05:56:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1531202180.41.0.56676864532.issue8036@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
All three test cases are raising a VallueError now:
C:\py\cpython3.8>python -c "import os; os.spawnl(os.P_WAIT, '')"
Running Debug|x64 interpreter...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\py\cpython3.8\\lib\os.py", line 931, in spawnl
return spawnv(mode, file, args)
ValueError: spawnv() arg 2 cannot be empty
C:\py\cpython3.8>python -c "import os; os.spawnl(os.P_WAIT, '__not_existing_path__')"
Running Debug|x64 interpreter...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\py\cpython3.8\\lib\os.py", line 931, in spawnl
return spawnv(mode, file, args)
ValueError: spawnv() arg 2 cannot be empty
C:\py\cpython3.8>python -c "import os; os.spawnl(os.P_WAIT, '__not_existing_path__', '')"
Running Debug|x64 interpreter...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\py\cpython3.8\\lib\os.py", line 931, in spawnl
return spawnv(mode, file, args)
ValueError: spawnv() arg 2 first element cannot be empty
But the following one still causes a crash:
python -c "import os; os.spawnl(os.P_WAIT, '', 'non-empty')" |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年07月10日 05:56:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, terry.reedy, exarkun, amaury.forgeotdarc, ggenellina, vstinner, dstanek, schmir, ezio.melotti, brian.curtin, alfps, nvetoshkin |
| 2018年07月10日 05:56:20 | serhiy.storchaka | set | messageid: <1531202180.41.0.56676864532.issue8036@psf.upfronthosting.co.za> |
| 2018年07月10日 05:56:20 | serhiy.storchaka | link | issue8036 messages |
| 2018年07月10日 05:56:20 | serhiy.storchaka | create |
|