On Apr 29, 2008, at 4:15 PM, Abdul-rahman Advany wrote: > Sorry, just figured out calling fork makes the thread a child > process... > just need to find out how to set a timeout on the thread... anyone > suggestions? require 'timeout' begin Timeout.timeout(seconds){ thread.join } rescue Timeout::Error thread.kill rescue nil end 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