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

2020-01-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closing as this also does not happen anymore on master as well. -- nosy: +pablogsal resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[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, nPath, [], {}) Traceback (most recent call last):

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

2019-12-20 Thread Batuhan
Batuhan added the comment: @SSchukat can you reproduce this issue in python 3? -- components: +Windows -Interpreter Core nosy: +BTaskaya, paul.moore, steve.dower, tim.golden, zach.ware type: -> behavior ___ Python tracker

[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], notepad.exe) os.spawnv(os.P_NOWAIT, nPath, []) # or