[Python-au] Hello, and non-blocking popen2 on Win32

Mark Hammond mhammond@skippinet.com.au
Thu, 1 Aug 2002 23:12:49 +1000


> Before I go and re-invent the wheel, does anyone know of a non-blocking
> version of popen2 on Win32?

Unfortunately no :(  But I am quite confident the existing popen code can be
implemented in Python with win32all.

> Alternately, can anyone suggest a thread-safe way of creating a
> string buffer
> which one thread can add to, and the other can read from?

Not sure what you exactly want here, but overlapped IO is fully supported.

In general, it is probably best if these questions go to a different list -
either comp.lang.python or python-win32@python.org - not very Aussie
specific ;)

Regards,

Mark.