Re: Fwd: Questions about SIGHUP behavior

2013-11-13 Thread David L. Craig
On 13Nov13:1240+0100, Steffen Dettmer wrote: > thanks for your detailed answer. Indeed, this is very good material to understand. As a minor point in the interest of complete treatment, I add the nohup nohup construct; e.g., ( while : ; do sleep 60 ; echo awake `date` ; done &>/dev/null & ) wh

Fwd: Questions about SIGHUP behavior

2013-11-13 Thread Steffen Dettmer
Hi, thanks for your detailed answer. On Tue, Nov 12, 2013 at 6:02 PM, David F wrote: > On 11/12/2013 07:35 AM, Steffen Dettmer wrote: >> >> Debian 7.2 with /bin/bash as login shell (via /etc/passwd), shopt >> huponexit off (as by default), bash run via SSH from other host. >> >> When closing she

Re: Questions about SIGHUP behavior

2013-11-12 Thread David F
On 11/12/2013 07:35 AM, Steffen Dettmer wrote: Debian 7.2 with /bin/bash as login shell (via /etc/passwd), shopt huponexit off (as by default), bash run via SSH from other host. When closing shell with CTRL-D, "sleep &" continues to run. I had expected I had to use nohup, setsid, disown or a com

Questions about SIGHUP behavior

2013-11-12 Thread Steffen Dettmer
Hi, Debian 7.2 with /bin/bash as login shell (via /etc/passwd), shopt huponexit off (as by default), bash run via SSH from other host. When closing shell with CTRL-D, "sleep &" continues to run. I had expected I had to use nohup, setsid, disown or a combination of them in order to keep background