[Zope-Coders] Sovled: [Zope] popen hangs on W2K

Thomas Guettler zopestoller@thomas-guettler.de
Mon, 18 Mar 2002 11:49:41 +0100


Chris Withers wrote:

 >Thomas Guettler wrote:
 >
 >>You could solve it with threads, too. Start two threads: one reading
 >>stdout, one stderr and wait
 >>until both have finished the read-statement.
 >>
 >
 >Now, that is a brilliant suggestion...
 >
Thank you.

On Unix you could use select, too. But this fails on windows.
See: http://www.python.org/doc/current/lib/module-select.html

  thomas