[buug] nohup
Jon McClintock
jammer at weak.org
Tue Aug 26 14:09:28 PDT 2003
On Tue, Aug 26, 2003 at 01:46:07PM -0700, johnd wrote:
> I've noticed if I run a program in the background then log out it stays running
> for a while then seems to arbitrarily stop.
>
> If I run it with nohup then it seems to stay running.
>
> why?
>
> I happen to be running a app server called Zope. It is a program written in
> python. I'm using linux 2.4.21.
If a program running in the background produces output, it will block
until that output is consumed (read). nohup is a simple wrapper that
will consume that output. The alternative is to pipe the output to
a file (to log it), or to /dev/null (to ignore it).
-Jon
More information about the buug
mailing list