which option I can set in bash/sh to make nohup default

which option I can set in bash/sh to make nohup default

Post by Brian McCaule » Sat, 20 Jun 1998 04:00:00




> How can I configure bash/sh, or set some options to make "nohup" the default
> behavior? I mean every process bash started will not be affected after logging
> out.

Hmmm... don't know.  But you can do "disown -h $( jobs -p )" at any
time to make all the current jobs immune.

Suppose you could put "disown $( jobs -p )" in your ~/.bash_logout

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/