[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EOF disowns background jobs?
From: |
Sven Mascheck |
Subject: |
Re: EOF disowns background jobs? |
Date: |
Thu, 12 Mar 2009 23:17:28 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, Mar 11, 2009 at 10:11:22PM -0400, Chet Ramey wrote:
>> (bash exits, leaving some-command running)
> How could you run daemons from the command line otherwise?
I'm curious, what do you mean with daemons here?
I'd expect real daemons to detach from the terminal and create
a new session / new process group. Or is it, that just too
few actually do?
Certainly, nohup(1) has been used traditionally for such
purposes - but it becomes useless, if programs reset their
signal handlers at startup (e.g., some xemacs), and is
quite inconvenient because one has to decide at startup.