This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:20serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, exarkun, amaury.forgeotdarc, ggenellina, vstinner, dstanek, schmir, ezio.melotti, brian.curtin, alfps, nvetoshkin
2018-07-10 05:56:20serhiy.storchakasetmessageid: <1531202180.41.0.56676864532.issue8036@psf.upfronthosting.co.za>
2018-07-10 05:56:20serhiy.storchakalinkissue8036 messages
2018-07-10 05:56:20serhiy.storchakacreate