Wouldn't a sleep(5) at the end of the script test for this?

-- 
Posted via http://www.ruby-forum.com/.