From: Ema Fuma Date: 2008-06-16T16:25:54+09:00 Subject: Re: Timeout lengthy external executable > i'm 99% positive that trying to read from the pipe will conflict with > the timeout method - because of the way ruby uses green threads it's > easy to lock up threads where io is concerned. sometimes select can > be used but it's a case by case basis for mixing threads, io, and non- > blocking behaviour on windows. YMMV. Ok, I thought I was doing something wrong, or not using the right method. Maybe I should use some customized timeout? To me it looked strange that in a scripting language like Ruby it was impossible to timeout certain operations and I thought someone else found a solution. Thanks bye -- Posted via http://www.ruby-forum.com/.