[issue45237] Python subprocess not honoring append mode for stdout on Windows

Eryk Sun report at bugs.python.org
Sun Sep 19 16:20:56 EDT 2021


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

There's nothing we could easily change to use the native OS append mode or support inheritance of file descriptors in subprocess. A general solution would be to give up on C file descriptors and CRT functions such as _wopen(), read(), etc, and instead implement our own I/O and filesystem support in the os and io modules, based on native handles and the Windows API. This change has been discussed, but I don't know whether or not it's just a pipe dream.

----------

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


More information about the Python-bugs-list mailing list