[1823] in Athena Bugs

home help back first fref pref prev next nref lref last post

csh and process groups

daemon@ATHENA.MIT.EDU (bjaspan@ATHENA.MIT.EDU)
Sun Feb 26 22:16:22 1989

From: <bjaspan@ATHENA.MIT.EDU>
Date: Sun, 26 Feb 89 22:12:56 EST
To: bugs@ATHENA.MIT.EDU

I don't know if csh is SUPPOSED to send a SIGKILL to an entire process
group.  I do know that it DOES NOT do so however.  I wrote a system
that used a child process, and I soon discovered that there were
child processes running all over Athena, the result of parents that
had been SIGKILLed, segfaulted, etc.  Eventually getppid() solved the
problem..

Oddly, csh DOES send some signals to the entire process group, such as
SIGPAUSE.  I believe that it does NOT send a SIGCONT to the entire 
group, but I'm unsure about that; however, I seem to remember a SIGPAUSE
halting a parent's child and a SIGCONT not restarting it.

Bizarre.

home help back first fref pref prev next nref lref last post