From: Ahmad Azizan Date: 2009-11-12T07:40:57+09:00 Subject: exception for program running on ruby code Hello, I'm trying to get an output from /var/log/syslog for certain amount of time by executing %x[sudo tail -f /var/log/syslog] Is it possible to set a timer for the execution, and if the time end, the execution will end (like we do Ctrl+C) ? Thank you -- Posted via http://www.ruby-forum.com/.