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. |
| [EMAIL PROTECTED] | He pulled an all-nighter on the 6th.   |
+-------------------+----------------------------------------+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to