Execute shell command from Rails


#1

Hi all,

Can anyone tell what is the way to execute OS shell command from within
Rails programs? I tried to use “exec” but it terminate the console
(which
run “ruby script/server” originally).

Thank you very much.

  • Chuong