Topic: See the terminal output on the page in real time

Hi I'm new around here and also with Ruby on Rails

The serious question as to see the output of the terminal in real-time view

It is using ajax, so that only actualize that part of the page. use ubuntu 12.

What I'm trying to do is, through a call button the controller, which executes a program with this command

@terminal = IO.popen ('. / rcracki_mt hashtxt.txt-t-l 4')

using ajax and send the output terminal and wing view real-time display on the page.

Hey searched and tried various things ... did not work.

Someone could tell me more or less as it should do?

for not seeking blindly ...

thanks and sorry for my English (google translator)

Last edited by AK-48 (2012-07-24 23:09:27)