Re: Kill sends signal to wrong process group with job control enabled
Robert Elz <[email protected]> Tue, 03 Mar 2026 09:13:43 +0700
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <[email protected]> |
Date: Mon, 2 Mar 2026 17:14:53 -0500
From: Chet Ramey <[email protected]>
Message-ID: <[email protected]>
| > the jobid builtin added
| I wrote one a couple of months ago, using the NetBSD description as a
| model.
Oh, I wasn't aware, good.
| It makes it easier to treat all the processes in the subshell as a single
| unit,
Yes, I can see that.
| Probably because setsid(2) will fail when the process is already a
| process group leader.
That's it, yes.
kre