From owner-freebsd-questions@FreeBSD.ORG Fri Aug 10 11:48:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12CFB16A417 for ; Fri, 10 Aug 2007 11:48:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id CAFF113C458 for ; Fri, 10 Aug 2007 11:48:25 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Aug 2007 07:48:25 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id NQO09155; Fri, 10 Aug 2007 07:48:24 -0400 (EDT) Received: from 65-78-26-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.26.179]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Aug 2007 07:48:23 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18108.20615.177571.94952@jerusalem.litteratus.org> Date: Fri, 10 Aug 2007 07:48:23 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20070810095457.H76834@wojtek.tensor.gdynia.pl> References: <46BB75D0.3080200@calarts.edu> <20070810095457.H76834@wojtek.tensor.gdynia.pl> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: How do I make install clean a port in the background X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 11:48:26 -0000 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