Date: Tue, 04 Dec 2007 23:50:31 -0800 From: Russell Jackson <raj@csub.edu> To: Doug Barton <dougb@freebsd.org> Cc: Wes Morgan <morganw@chemikals.org>, freebsd-ports@freebsd.org, Ben Kelly <bkelly@vadev.org> Subject: Re: How to get portinstall to 'shut up' so I can run it in background Message-ID: <47565847.3030302@csub.edu> In-Reply-To: <4756433F.9050704@FreeBSD.org> References: <20071128013623.GA48799@belle.0lsen.net> <475488D8.2090301@FreeBSD.org> <20071203231312.GA1449@ted.stsp.lan> <alpine.BSF.0.99999.0712031734460.37247@ibyngvyr.purzvxnyf.bet> <alpine.BSF.0.99999.0712041804070.36902@ync.qbhto.arg> <47561B27.3020609@vadev.org> <4756433F.9050704@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > Ben Kelly wrote: > >> Maybe I am doing something wrong, but I have never been able to get >> nohup to work correctly with portupgrade for this sort of this. For >> example: >> >> ianto# nohup portupgrade -a >& /tmp/port.log & > > You just want to do 'nohup portupgrade -a &' > output will be captured in nohup.out. > Ben is right. When you run portupgrade with nohup and background the process -- either with '&' or by ctrl-z followed with a bg -- it gets suspended until the job is brought back to the foreground. Portupgrade acts very strangely when it's not attached to a tty. -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield He asked me if I knew what time it was -- I said yes, but not right now. -- S. Wright
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47565847.3030302>