[New-bugs-announce] [issue18930] os.spawnXX functions terminates process if second argument is empty list
Stefan Schukat
report at bugs.python.org
Thu Sep 5 12:52:34 CEST 2013
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 os.spawnv(os.P_NOWAIT, nPath, [], {})
This has the same cause as the bug reported for execv http://bugs.python.org/issue1039 and could be fixed in the same way.
----------
components: Interpreter Core
messages: 196988
nosy: SSchukat
priority: normal
severity: normal
status: open
title: os.spawnXX functions terminates process if second argument is empty list
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18930>
_______________________________________
More information about the New-bugs-announce
mailing list