Comment 8 for bug 625551

Revision history for this message
Andrew Bennetts (spiv) wrote : Re: [Bug 625551] Re: selftest --parallel=subprocess ignores child stderr pipes

> > Because subprocess doesn't expose a way to read incrementally from both
[…]
> Sure it does - select. The file objects can be selected on and
> incrementally iterated. Or asyncore.

Yes, select is how the subprocess module implements communicate() — on
posix. But that doesn't work on Windows. asyncore also doesn't help
for the same reason, it relies on APIs that only work on sockets on
Windows.

-Andrew.