Christopher Dancy wrote:
>> 
>> Run it in a sub thread you don't join on?
>> -rp
> 
> That's actually what I'm doing now and then killing off the thread after 
> a few seconds so as not to waste the precious resources of my 1 single 
> ruby process. I was hoping there was a more elegant solution or maybe 
> just a "right" way to do it.

I don't think there is (though you could commit a patch to trunk that 
would allow for it, perhaps).

http://emdrb.rubyforge.org

Mentions it has "synchronous and asynchronous modes"
Though I've never tried it I've run into it a few times.
GL.
-rp
-- 
Posted via http://www.ruby-forum.com/.