From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 04:44:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74DF337B401 for ; Sat, 5 Apr 2003 04:44:16 -0800 (PST) Received: from web41206.mail.yahoo.com (web41206.mail.yahoo.com [66.218.93.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 165E343FA3 for ; Sat, 5 Apr 2003 04:44:16 -0800 (PST) (envelope-from sdieselil@yahoo.com) Message-ID: <20030405124415.30157.qmail@web41206.mail.yahoo.com> Received: from [212.199.35.85] by web41206.mail.yahoo.com via HTTP; Sat, 05 Apr 2003 04:44:15 PST Date: Sat, 5 Apr 2003 04:44:15 -0800 (PST) From: sergey dyshel To: freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Is there a command for Unix which can detach process from console and wait until its finish? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 12:44:16 -0000 Hi I have one problem with '.xinitrc' file. I need to run IceWM, detach it from console and wait until IceWM exits. I know about 'detach' utility for Unix which runs process, detaches it but doesn't wait. So when I place "exec detach icewm" in the end of my '.xinitrc' X server shuts down immediately after starting icewm which isn't what I want. Is there a programm like 'detach' which does't exit until detached process is finished? __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com