Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 04:54:24 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Chad Perrin <perrin@apotheon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can a Bourn Shell Script put itself in the background?
Message-ID:  <20090606045424.ffc94fcd.freebsd@edvax.de>
In-Reply-To: <20090605190200.GH87456@kokopelli.hydra>
References:  <200906041406.n54E6Fts006668@dc.cis.okstate.edu> <C96FA0139A334A87B8432652524189DB@wbt.wbtsystems.com> <560f92640906040929p3786dd30n9b6a11dded90a44a@mail.gmail.com> <20090605190200.GH87456@kokopelli.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Jun 2009 13:02:00 -0600, Chad Perrin <perrin@apotheon.com> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090606045424.ffc94fcd.freebsd>