From owner-freebsd-hackers Thu May 30 14:43:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 3ED2B37B401 for ; Thu, 30 May 2002 14:43:37 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 193A0AE163; Thu, 30 May 2002 14:43:37 -0700 (PDT) Date: Thu, 30 May 2002 14:43:37 -0700 From: Alfred Perlstein To: echo dev Cc: hackers@freebsd.org Subject: Re: C ???? Message-ID: <20020530214337.GW17045@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i 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 * echo dev [020530 13:17] wrote: > I am coding a scheduler. It is going to paste a msg to the screen after a > certain time. How might i run this in the background? I tried just casting > it into the background with the name& but it did'nt work. I need it to > asked the questions and then put it self into the background. If someone > could give me some liks to some docs I woould be vary grateful.. Have your program ask questions, then fork a child process, then have the parent exit, it will effectively detach. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message