Re: bash sends SIGHUP to disowned children in non-interactive mode
From:
Greg Wooledge
Subject:
Re: bash sends SIGHUP to disowned children in non-interactive mode
Date:
Wed, 28 Dec 2011 13:47:47 -0500
User-agent:
Mutt/1.4.2.3i
On Wed, Dec 28, 2011 at 07:44:40PM +0100, ck850@web.de wrote:
> (xclock &)
> Yet xclock closes when the script exits because it receives a SIGHUP.
If you want a process to ignore a signal, you should either use nohup(1),
or ignore the signal yourself using a trap and then exec it.