From: Jamis Buck Date: 2005-10-11T05:19:30+09:00 Subject: Re: documentation & tutorials for net::ssh On Oct 10, 2005, at 2:11 PM, bob wrote: >> Bob, >> >> Let me ask it this way. What shell command are you giving to the >> remote server? Are the commands self-terminating, or do they remain >> open waiting for a signal or key-press or whatever? >> >> - Jamis >> > > They are all going to be self terminating, like the example I gave. Actually, the example you gave was "tail -f #{file}", and tail -f is not self-terminating. It remains open until the command is killed (TERM signal, for instance), outputting lines from the end of the file as they appear. If you want it to be self-terminating, try removing the -f switch. Let me know if that helps. - Jamis