Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 17:54:17 -0500 (EST)
From:      Martin Gignac <lmcgign@phoenix.mobilitylab.net>
To:        freebsd-questions@freebsd.org
Subject:   Running portupgrade in the background?
Message-ID:  <20030110174631.K74344@phoenix.mobilitylab.net>

next in thread | raw e-mail | index | archive | help
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.

Whenever I've done this the portupgrade process seems to die and I never
successfully create the desired port(s). I find that I always have to be
on a "live" session during the entire portupgrade build process for it to
finish successfully.

Is this the normal behavior? Is it really impossible to properly put the
protupgrade process in the background? Or am I just doing it all wrong?

I've tried different combinations of:

sudo portupgrade <package> &
sudo -b portupgrade <package>
sudo -b sh -c "portupgrade <package> > /home/<user>/build.out 2>&1"

all to no avail...

-Martin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030110174631.K74344>