Date: Tue, 04 Dec 2007 22:29:43 -0500 From: Ben Kelly <bkelly@vadev.org> To: Doug Barton <dougb@freebsd.org> Cc: Wes Morgan <morganw@chemikals.org>, freebsd-ports@freebsd.org Subject: Re: How to get portinstall to 'shut up' so I can run it in background Message-ID: <47561B27.3020609@vadev.org> In-Reply-To: <alpine.BSF.0.99999.0712041804070.36902@ync.qbhto.arg> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > On Mon, 3 Dec 2007, Wes Morgan wrote: > >> On Tue, 4 Dec 2007, Stefan Sperling wrote: >> >>> Screen also has log functionality. >>> Toggle with: Ctrl+A, then Shift+H >> >> You can also use "script" to capture the output fairly easily. > > So you have to use two different programs, one of which is a port, to > accomplish what nohup will do by itself. :) My point being that a lot of > people seem to think that screen(1) is the answer, no matter what the > question, when often simpler answers exist. > > If you're one of those people, that's fine, I learned a long time ago > I'm not going to change your mind. But I do think it's useful to note > that there are other valid solutions, even if simply for completeness sake. 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 & [1] 6238 ianto# [1] + Suspended (tty output) portupgrade -a >& /tmp/port.log ianto# ianto# cat /tmp/port.log ianto# I've never had time to figure out why it suspends, though. Anyone know? > Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47561B27.3020609>