[issue18930] os.spawnXX functions terminates process if second argument is empty list

2020-01-06 Thread Stefan Schukat
Stefan Schukat added the comment: @Batuhan the error does not appear anymore in at least Python 3.6.1 >>> import os >>> nPath = os.path.join(os.environ["windir"], "notepad.exe") >>> os.spawnv(os.P_NOWAIT, nPath, []) # or os.spawnv(os.P_NOWAIT,

[issue18930] os.spawnXX functions terminates process if second argument is empty list

2013-09-05 Thread Stefan Schukat
New submission from Stefan Schukat: If os.spawnv or os.spawnve is called with an empty second argument the process terminates in release builds under Windows. This is simple to reproduce: >>> import os >>> nPath = os.path.join(os.environ["windir"], "notepa