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.