[buug] nohup

johnd john at jjdev.com
Tue Aug 26 14:25:40 PDT 2003


yea, that I know, but why does it eventually die if it is not run with nohup?

On Tue, Aug 26, 2003 at 02:09:28PM -0700, Jon McClintock wrote:
> 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
> _______________________________________________
> Buug mailing list
> Buug at weak.org
> http://www.weak.org/mailman/listinfo/buug

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
--Henry Spencer (Usenet signature, November 1987)




More information about the buug mailing list