Got the solution, exec starts a new process so don't use it.. just use the shell command in ruby like this
`sh /home/abc.sh` in the controller.. It runs fine -- Posted via http://www.ruby-forum.com/. _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users