From: "ara.t.howard" Date: 2008-08-13T07:46:59+09:00 Subject: Re: Non-Threaded Timeout? On Aug 12, 2008, at 4:34 PM, Bryan Richardson wrote: > Hi Bill, > > Thanks for the reply. I hate Windows. :) > > I did a few tests (all-be-it I came up with the tests, so that might > be the problem) and it does seem like IO.popen is blocking... > > IO.popen "ruby -e 'sleep(20); STDERR.puts \"Popped!\"'" > sleep(10) > puts "Hello" > sleep(15) > puts "Hi" > > Output was: > Popped! > Hello > Hi > > I CAN'T CATCH A BREAK ANYWHERE!!!! Argh... this is why I don't > develop on Windows! :( see if you can sort of get it going with system - i know you can cancel it, but you might be able to work around that later.... a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama