Re: Starting background process in ssh session
To: "Roberto C. Sanchez" <firstname.lastname@example.org>, email@example.com Date: Thu, 01 Sep 2005 14:52:18 -0700
You could do this:
But I always usea trick I find works with bash, so when your in a
bash shell do this:
#start another bash shell
#start your background job
#exit the subshell
#exit your ssh connection
That should work.
On 1 Sep 2005 at 17:33, Roberto C. Sanchez wrote:
> I occasionally log into a machine remotely and start a process in the
> command &
> However, when I log out of the machine, the ssh process on my local
> machine blocks. I guess that it is becuase the remote still has jobs
> running. Is there a way to get it start the process in the background
> and then detach from the shell? I have already tried this:
> exec command &
> However, it results in the same behavior. It is really a bit annoying
> to have to kill the ssh process on my end to terminate the connection.
> I really should be able to do something that lets me logout normally.
> Roberto C. Sanchez
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org