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

2018-09-18 Thread Thomas Sibley
Thomas Sibley added the comment: Thanks for taking the time to explain. I was just discovering the same myself experimentally. The MS docs I linked to seem a little misleading. orz In that case, do you think a doc patch for os.exec* adding a more nuanced take on Windows support would

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

2018-09-18 Thread Thomas Sibley
Thomas Sibley added the comment: It seems like it would be very nice to provide compat if its possible with a minimum of effort. At the very least, a doc patch to os.exec*() seems warranted. I expected to find notes on platform compat in the doc and was pleasantly surprised to see

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

2018-09-18 Thread Thomas Sibley
Thomas Sibley added the comment: What about using _execv*() and friends, as documented at <https://docs.microsoft.com/en-gb/cpp/c-runtime-library/reference/execvp-wexecvp?view=vs-2017>? They appear to use the process overlay feature of _spawnv*() et al., as described at

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

2018-09-18 Thread Thomas Sibley
Change by Thomas Sibley : -- nosy: +trs ___ Python tracker <https://bugs.python.org/issue9148> ___ ___ Python-bugs-list mailing list Unsubscribe: