Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2001 15:31:29 +0300
From:      Valentin Nechayev <netch@iv.nn.kiev.ua>
To:        Mike Barcroft <mike@FreeBSD.ORG>
Cc:        hackers@FreeBSD.ORG, Peter da Silva <peter@baileynm.com>
Subject:   Re: Proposed Utility - detach(1)
Message-ID:  <20010825153129.A761@iv.nn.kiev.ua>
In-Reply-To: <20010824141955.B64018@coffee.q9media.com>; from mike@FreeBSD.ORG on Fri, Aug 24, 2001 at 02:19:55PM -0400
References:  <20010824141955.B64018@coffee.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 Fri, Aug 24, 2001 at 14:19:55, mike (Mike Barcroft) wrote about "Proposed Utility - detach(1)": 

> I would appreciate comments on the usefulness of a utility which would
> allow one to detach a process from a TTY.  I imagine the utility would
> be very small and just call daemon(3) and execlp(3).
> 
> Would a utility like this be useful?  Is this functionality already
> available in a system utility?

You can add an option to nohup(1) to call setsid() or daemon().
IMO this task is too little to create separate executable.


/netch

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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