From: Elliot Temple Date: 2006-05-03T12:25:25+09:00 Subject: Re: Calling Shell Scripts from Ruby ? On May 2, 2006, at 8:22 PM, Dinesh Umanath wrote: > Hi Edwin, > > Thanks for your reply. When you say output = `Unix command`, i did > not > get about how exactly to use it, is it possible to give a simple > sample > examples if you have with you which calls a script ?? > > Oh..so u mean from shell script we can't get the return values to > ruby. > My requirement is that from "Rails" through the web i will call some > shell script and finally the script should return me a "String" > value. > is that not possible from ruby? type this in irb: x = `ls` Elliot