From: Kendall Gifford Date: 2010-11-09T07:38:42+09:00 Subject: Re: running script remotely on a sepparate terminal On Sun, Nov 7, 2010 at 5:51 PM, Ted Flethuseo wrote: > 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 xx@xx.com 'cd #{path}; ./#{run_long_script}'` > > 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: http://savannah.gnu.org/projects/screen -- Kendall Gifford zettabyte@gmail.com