Workaround for hanging shells on exit

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Tue Jan 23 12:36:35 EST 2001


On Tue, 23 Jan 2001, Damien Miller wrote:

> On Mon, 22 Jan 2001 mouring at etoh.eviladmin.org wrote:
> 
> > Works if you don't do:
> > 
> > nohup command &
> > exit
> > 
> > ..It still hangs..
>  
> Here you can do:
> 
> nohup command </dev/null 2>/dev/null >/dev/null &
> 
That works, and acts the way it should (putting the process in the
background and letting it run long after the ssh shell has disconnected.

- Ben






More information about the openssh-unix-dev mailing list