🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #289

Sending Signals to a Process Group

#289
From: I. Lee Hetherington
Date: Sat, 20 Oct 1990 18:13
14 lines
1138 bytes
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
-------------------------------------------------------------------------------
Technical Details
Message-ID: <2231@megadon.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bu.edu!rpi!julius.cs.uiuc.edu!apple!altos!megadon!clp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bu.edu!rpi!julius.cs.uiuc.edu!apple!altos!megadon!clp
From: ilh@sun-of-pooh.mit.edu (I. Lee Hetherington)
Newsgroups: comp.unix
Subject: Sending Signals to a Process Group
Message-ID: <2231@megadon.UUCP>
Date: 20 Oct 90 18:13:40 GMT
Sender: clp@megadon.UUCP
Reply-To: ilh@sun-of-pooh.mit.edu (I. Lee Hetherington)
Organization: Massachusetts Institute of Technology
Lines: 14
Approved: clp@megadon.UUCP