From: Joel VanderWerf Date: 2006-01-31T05:28:56+09:00 Subject: Re: IO.popen hangs reading an empty pipe? ara.t.howard@noaa.gov wrote: ... >> - the use of timeout was just to allow the test to exit when the hang >> occurred. I didn't realize it fails on w32. Is it Timeout that >> fails, or just when timeout is combined with IO reads? > > i may have mispoke - you may be able to use a thread and timeout - but > it very > easy to block an entire process with io and threads in win... fyi. I've mixed threads, timeout, and sockets on windows with no problems. But I haven't done this with pipes... ISTR that the problem on windows is with terminal io. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407