From: Edwin van Leeuwen Date: 2006-05-03T01:40:14+09:00 Subject: Re: Calling Shell Scripts from Ruby ? > 1)Is it possible to call "Shell Scripts" from ruby? Say if i have a > shell sciprt named "test.sh", how can i call this from ruby? Also if i > can call like that,is it possible to get the output of that script > passed back to ruby? > > 2)How can i call any "Unix command" residing from a ruby program?? 1 and 2. I always use output = `Unix command` You can also use Kernel.system, but I don't think that will return your output http://www.ruby-doc.org/core/classes/Kernel.html#M002992 -- Posted via http://www.ruby-forum.com/.