You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If passing a Pid with processID value set to Pid.terminated to kill, its value is interpreted as a process group id and the entire process group is being killed on Posix systems. A discussion on #10586 indicates that this behavior is not intentional. It is being proposed to change the behavior of kill to throw an exception when being passed a Pid instance with a negative processID. When doing so, the change in #10586 should be reverted as then, the kill function reliably throws the expected exception rather than failing only when the named process group happens to not exist.
The text was updated successfully, but these errors were encountered:
If passing a
Pid
withprocessID
value set toPid.terminated
tokill
, its value is interpreted as a process group id and the entire process group is being killed on Posix systems. A discussion on #10586 indicates that this behavior is not intentional. It is being proposed to change the behavior ofkill
to throw an exception when being passed aPid
instance with a negativeprocessID
. When doing so, the change in #10586 should be reverted as then, thekill
function reliably throws the expected exception rather than failing only when the named process group happens to not exist.The text was updated successfully, but these errors were encountered: