Comment 11 for bug 625551

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

Martin [gz] wrote:
> It's perfectly possible to use asynchronous ipc on windows. The
> subprocess module just doesn't use the right pipe functions, and as with
> its other limitations can't really be extended to do so. Even if the
> underlying issues were fixed, it's not clear what the Python interface
> for not screwing this stuff up by accident would be. Twisted?

Twisted certainly does cope just fine with this. Unfortunately it wants
to be the framework of your program rather than a library you can call
into when you occasionally need it, so it's not obviously a good idea
for bzr selftest. Oh, and Twisted officially doesn't support being
fork()ed either, which is a shame because I use --parallel=fork a lot.