Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 17:15:48 -0500
From:      Chris Costello <chris@calldei.com>
To:        Mike Barcroft <mike@FreeBSD.ORG>
Cc:        hackers@FreeBSD.ORG, Peter da Silva <peter@baileynm.com>
Subject:   Re: Proposed Utility - detach(1)
Message-ID:  <20010824171548.A60451@holly.calldei.com>
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
On Friday, August 24, 2001, Mike Barcroft wrote:
> 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?

   All shells implement this:

sh:
$ sleep 5 &
$ 
[1] 61049 Exit 0              sleep 5

ksh:
$ sleep 5 &
[1]     61052
$ 
[1] +  Done                    sleep 5&

csh:
% sleep 5 &
[1] 61058
% 
[1]    Done                          sleep 5

etc.

   Why does this need to be implemented in a separate executable?

-- 
+-------------------+----------------------------------------+
| Chris Costello    | God didn't create the world in 7 days. |
| chris@calldei.com | He pulled an all-nighter on the 6th.   |
+-------------------+----------------------------------------+

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?20010824171548.A60451>