This is a followup to Do background processes get a SIGHUP when logging off?.
It seems that huponexit only works for login shells. How do I get that behavior for non-login shells, e.g. the ones that are started in my terminal window?
Sending HUP to the bash from where the processes have been started works as expected, but huponexit doesn't.
nohup,screen,tmux, ...? – quanta Nov 25 '11 at 18:46