[issue25789] py launcher stderr is not piped to subprocess.Popen.stderr

Wolfgang Maier report at bugs.python.org
Fri Dec 4 05:07:57 EST 2015


Wolfgang Maier added the comment:

> The error() function in PC/launcher.c should call exit(rc) instead of ExitProcess(rc). This allows the CRT to terminate properly and flush the stderr FILE stream.

Interesting. Why do you need to flush stderr? I would have expected it to be unbuffered in the first place. What's the usecase/advantage of calling ExitProcess then?
Sorry, if that does not really belong here and just shows my limited knowledge of C.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25789>
_______________________________________


More information about the Python-bugs-list mailing list