Running script remotely on a sepparate terminal

Hi everyone,

I am building a script that runs something on a server.
I was wondering, is it possible to launch it and just leave it
running aside, instead of it waiting until it is done. I would also
like to see the output of this command in a sepparate terminal
windows. How can I get it working like that.

puts ssh [email protected] 'cd #{path}; ./#{run_long_script}'

Any help appreaciated.

Ted.

On Sun, Nov 7, 2010 at 5:51 PM, Ted F. [email protected]
wrote:

Any help appreaciated.

Ted.

To keep things simple, I’d just use the GNU “screen” program and run
your script w/in a screen session. That way you don’t need to do any
fancy coding and you get all the capabilities you mentioned: