From: Brian Candler Date: 2010-09-23T17:09:07+09:00 Subject: Re: having problems with open4 and stuck forked processes elise huard wrote: > Euhm (asking this because I honestly don't know) will this work for > Processes ? (he's not using Thread) Timeout::timeout uses a thread internally - and it raises an exception asynchronously in the main thread, which makes it unsafe in just about any application you can think of for it. It would be safer to use select() on the data coming from the child to wait for the process to terminate (when you read end-of-file) -- Posted via http://www.ruby-forum.com/.