On Fri, Jan 10, 2003 at 05:54:17PM -0500, Martin Gignac said: 
> Hi,
> I'm often use portupgrade in combination with sudo from an SSH session and
> up till now I've never been able to put the portupgrade process in the
> background so that it can finish its job and I can safely exit the SSH
> session.

when a process dies, in general all of its child processes die with it. in
this case the portupgrade process is a child of the ssh session and dies
when you log out.

the solution is nohup(1):

% nohup portupgrade $options &

which should leave the process running after you log out, and will dump
the output to the file nohup.out unless you redirect it elsewhere.


Chris Doherty
chris [at] randomcamel.net

"I think," said Christopher Robin, "that we ought to eat
all our provisions now, so we won't have so much to carry."
               -- A. A. Milne

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to