11-18-05 12:50 PM
Thu, Nov 17, 2005 at 08:03:59, 50295 (50295@web.de) wrote about "Does the ba
sh shell store signal traps between sessions?":
[vbcol=seagreen]
> I hate to sound like a broken record, but why isn't the HUP signal sent
> to xcalc when I exited the shell in the above scenario???
This is shell behavior, not xcalc.
Compare with variant: run xterm, xcalc&, and close xterm by window
manager. xcalc will disappear.
I can't detect now exact mechanism used by bash but ktrace shows
bash calls tcsetpgrp() and setpgid() on exit.
-netch-
[ Post a follow-up to this message ]
|