[New-bugs-announce] [issue9148] os.execve puts process to background on windows

anatoly techtonik report at bugs.python.org
Sat Jul 3 13:29:35 CEST 2010

New submission from anatoly techtonik <techtonik at gmail.com>:

os.execve() is said to replace current process with new program. Unfortunately, when you try to call script that contains os.execve() on windows - that script spawns background process and control is immediately returned to the calling program. Does it behave the same on Unix?

Is there any way to replace current process on Windows so that references to calling parent process are not lost and it could wait for execution to complete?

components: Library (Lib)
messages: 109176
nosy: techtonik
priority: normal
severity: normal
status: open
title: os.execve puts process to background on windows
versions: Python 2.6, Python 2.7, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list