Comment 10 for bug 625551

Revision history for this message
Martin Packman (gz) wrote :

>> 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.
>
> Ah. If only such a thing existed.

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?