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 <rep...@bugs.python.org> <http://bugs.python.org/issue18930> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com