[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: killing subshells in /bin/sh scripts
Date: Mon, 26 Jun 2017 10:04:57 +0200 (CEST)
From: neitzel%hackett.marshlabs.gaertner.de@localhost (Martin Neitzel)
| > if you send a signal to a negative process ID, it sends the signal to the
| > process group that is the absolute value of that ID.
| That actually *is* POSIX (and always has been, for both the kill(1)
| utility and the kill() function)).
Ah yes, you're right, I knew it was for kill(2) but not for kill(1).
They also mandate support for -- though to disambiguate signal numbers
from (negative) process ids - which our kill (/bin/kill - and consequently,
the builtin kill in the shell) does not support, and really should.
Main Index |
Thread Index |