On Thu, Jun 11, 2009 at 08:56, Tahir Rauf <li...@ruby-forum.com> wrote:
> > Any Ideas, or is there any other way to run a shell script using ruby on > rails ?? > First of all, this is not a mongrel question at all, but a Ruby question, so please don't follow up here. But anyway: #exec replaces the current process and never returns and is probably not what you want to do in a controller. Have a look at http://apidock.com/ruby/Kernel/system and http://apidock.com/ruby/Kernel/%60 and http://apidock.com/ruby/IO/popen/class HTH, /David
_______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users