title: How to execute a console command line through Ruby on Rails web application and get the results back?
body: <p>I have a webservice which its taks is to execute a particualr application but the application doesn't have any sort of streaming but console , so I have to find a way to redirect my requests to the console(STDOUT) and then get the results back from the output.</p>
  
  <p>but I don't have any idea how can I do this in ruby on rails 1.9.</p>
  
  <p>regards</p>