From: Roger Pack Date: 2008-09-11T03:55:48+09:00 Subject: Re: Frustrated: System call timeouts Mikel Lindsaar wrote: > On Sun, Sep 7, 2008 at 12:42 AM, ara.t.howard > wrote: >> begin >> block.call >> ensure >> Process.kill 'TERM', signaler.pid rescue nil >> Signal.trap('TERM', handler) >> end > > Ara, thank you _so_ much for this. > > I would never have thought of spawning suicidal terminator ruby > processes to nuke my process :) But works well. There's also a timeout replacement lib [though I haven't tried it]. http://ph7spot.com/articles/system_timer -- Posted via http://www.ruby-forum.com/.