Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Aug 2007 15:23:30 -0500
From:      Reid Linnemann <lreid@cs.okstate.edu>
To:        Sean Murphy <smurphy@calarts.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I make install clean a port in the background
Message-ID:  <46BB77C2.2020809@cs.okstate.edu>
In-Reply-To: <46BB75D0.3080200@calarts.edu>
References:  <46BB75D0.3080200@calarts.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Written by Sean Murphy on 08/09/07 15:15>>
> How do I make install clean a port in the background?  I used
> 
> cd /usr/ports/www/apache22
> make install clean &
> 
> it returns the pid but then compiles in the foreground
> 
> What am I doing wrong?
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"

You're just seeing the output in the foreground, since the stdio and 
stderr for that process are still directed to the terminal. If you are 
using bash, you could "make install clean &> /dev/null &" to have the 
process operate in the background and direct all output the the 
bitbucket. I don't know the analog for other shells.



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