From: Francis Cianfrocca Date: 2006-06-05T18:03:48+09:00 Subject: Re: Please kill the children as you're leaving ------=_Part_6946_26304618.1149498225503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline >>>>>>>>>>> > Advance Programming in the Unix Environment, p.267 (R. Stevens) says: > > SIGHUP .... This signal is also generated if the session leader > terminates. In this case, the signal is sent to each process in the > foreground process group. > > It sounds like it should be possible to arrange for sighup to be sent to > an entire process group automatically if the session leader terminates. > <<<<<<<<<<<< You get this automatically. I assumed that the OP was raising the issue because he's running in some environment (like a daemon or a cron job) where there is no controlling tty or foreground process group. ------=_Part_6946_26304618.1149498225503--