[comp.unix] Sending Signals to a Process Group

ilh@sun-of-pooh.mit.edu (I. Lee Hetherington) (10/21/90)

I'm trying to send a signal (STOP) via kill() to a process group which includes
the calling process.  However, I do not want the calling process to receive the
stop also.  I'm running under SunOS 4.1.

According to my man pages, specifying a negative group id when calling kill()
should do the trick but it doesn't work.  The calling process also gets stopped.

Any ideas short of searching through all of the processes for ones that belong
to the desired process group?

-------------------------------------------------------------------------------
Lee Hetherington
MIT Spoken Language Systems Group
-------------------------------------------------------------------------------