From owner-freebsd-hackers Sat Aug 25 5:46:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 623F837B40A; Sat, 25 Aug 2001 05:46:11 -0700 (PDT) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id PRT66403; Sat, 25 Aug 2001 15:46:08 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.5/8.11.5) id f7PCVTk00930; Sat, 25 Aug 2001 15:31:29 +0300 (EEST) (envelope-from netch) Date: Sat, 25 Aug 2001 15:31:29 +0300 From: Valentin Nechayev To: Mike Barcroft Cc: hackers@FreeBSD.ORG, Peter da Silva Subject: Re: Proposed Utility - detach(1) Message-ID: <20010825153129.A761@iv.nn.kiev.ua> References: <20010824141955.B64018@coffee.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010824141955.B64018@coffee.q9media.com>; from mike@FreeBSD.ORG on Fri, Aug 24, 2001 at 02:19:55PM -0400 X-42: On Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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