use ubuntu 12
My question would be, how to display the terminal output to the page in
I am doing the following.
In the controller
@terminal = IO.popen('./rcracki_mt -l hashtxt.txt -t 4 SHA1 ')
<%= @terminal %>
This works, but only prints the result once I finish running the program
(. / Rcracki_mt)
Is there any way to get terminal output showing in real time?
Thanks and sorry for my English (google translator)
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 email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.