Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Apr 2003 07:19:23 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        sergey dyshel <sdieselil@yahoo.com>
Cc:        freebsd <freebsd-questions@freebsd.org>
Subject:   Re: Is there a command for Unix which can detach process fromconsole and wait until its finish?
Message-ID:  <3E8EC9CB.30601@potentialtech.com>
In-Reply-To: <20030405124415.30157.qmail@web41206.mail.yahoo.com>
References:  <20030405124415.30157.qmail@web41206.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
sergey dyshel wrote:
> 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?

I can not conceive of what you are trying to accomplish, but ...

Have you tried detaching the startx process instead of the
icewm process?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8EC9CB.30601>