[issue9148] os.execve puts process to background on windows

Eryk Sun report at bugs.python.org
Tue Sep 18 17:03:09 EDT 2018


Eryk Sun <eryksun at gmail.com> added the comment:

Python doesn't go out of its way to fake a cross-platform POSIX environment in Windows, complete with emulated fork and exec. I don't recommend using nt.execv[e] or the os.exec* functions in Windows. Their behavior is almost always undesired. I'd be in favor of deprecating them and eventually removing them. Use subprocess instead.

----------
nosy: +eryksun
resolution:  -> third party
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue9148>
_______________________________________


More information about the Python-bugs-list mailing list