Hi all,

Ive recently designed a system that is started from the command line.
ie.
/usr/local/bin/system.rb

The system is a long running task that outputs messages via "puts" to
the shell as its being executed.

I need to run this command from a rails application so that 1) it doesnt
block .ie user gets a "please wait" screen 2) and more importantly I
want the output of the command sent in real-time or near real-time to
the view, under the "please wait" message. And when the command exits,
the user is redirected to another view.

Any ideas whats the best way to do this?

Petr
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to