Hi, I’m New Here and also with Ruby on Rails
use ubuntu 12
My question would be, how to display the terminal output to the page in
real time.
I am doing the following.
In the controller
def run
@terminal = IO.popen('./rcracki_mt -l hashtxt.txt -t 4 SHA1 ')
end
end
In view
<%= @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)