From owner-freebsd-questions@FreeBSD.ORG Sat Jun 6 02:54:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1DD31065675 for ; Sat, 6 Jun 2009 02:54:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6F10C8FC0C for ; Sat, 6 Jun 2009 02:54:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx01.qsc.de (Postfix) with ESMTP id 961EC3CCF9; Sat, 6 Jun 2009 04:54:29 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n562sO27001713; Sat, 6 Jun 2009 04:54:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 6 Jun 2009 04:54:24 +0200 From: Polytropon To: Chad Perrin Message-Id: <20090606045424.ffc94fcd.freebsd@edvax.de> In-Reply-To: <20090605190200.GH87456@kokopelli.hydra> References: <200906041406.n54E6Fts006668@dc.cis.okstate.edu> <560f92640906040929p3786dd30n9b6a11dded90a44a@mail.gmail.com> <20090605190200.GH87456@kokopelli.hydra> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Can a Bourn Shell Script put itself in the background? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2009 02:54:32 -0000 On Fri, 5 Jun 2009 13:02:00 -0600, Chad Perrin wrote: > . . . or use tmux instead of GNU Screen, if you like. > > I got the impression this question was about a script backgrounding > itself, though -- possibly creating a daemon using bash. Maybe using detach (from ports) is a solution. It let's you decouple a program from the controlling terminal session, so it can be run in the background even if you logged off. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...