Date: Fri, 10 Aug 2007 07:48:23 -0400 From: Robert Huff <roberthuff@rcn.com> To: freebsd-questions@freebsd.org Subject: Re: How do I make install clean a port in the background Message-ID: <18108.20615.177571.94952@jerusalem.litteratus.org> In-Reply-To: <20070810095457.H76834@wojtek.tensor.gdynia.pl> References: <46BB75D0.3080200@calarts.edu> <20070810095457.H76834@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar writes: > > cd /usr/ports/www/apache22 > > make install clean & > > > > it returns the pid but then compiles in the foreground > > > > What am I doing wrong? > > > >/dev/null The /process/ is running in the background. The /output/ - stdout and stderr, file descriptors 1 and 2 - are still connected to the terminal. If you really want to make the output vanish, try: make install clean >& /dev/null & for (t)csh and (I think): make install clean 2>&1 /dev/null & for (ba)sh. My personal practice when compiling is not to direct all output to /dev/null. If the 22 hour build of OpenOffice blows up, and the output has vanished, you may have to start over. Instead, send it to a log file which can then be discarded if everything goes well. Robert Huff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18108.20615.177571.94952>