[Python-ideas] Tulip / PEP 3156 - subprocess events

Geert Jansen geertj at gmail.com
Wed Jan 16 19:27:10 CET 2013


On Wed, Jan 16, 2013 at 8:22 PM, Guido van Rossum <guido at python.org> wrote:
>> Dealing with subprocesses on Windows in a non-blocking way is a royal
>> pain. As far as I know, the only option is to use named pipes and
>> block on them using a thread pool.  A few years back I wrote something
>> that did this, see the link below. However it ain't pretty..
>>
>> https://bitbucket.org/geertj/winpexpect/src/tip/lib/winpexpect.py
>
>
> Hm, doesn't IOCP support named pipes?

Oops, yes, I stand corrected. I got confused between select and IOCP. Sorry.

Regards,
Geert



More information about the Python-ideas mailing list