]> Cypherpunks repositories - gostls13.git/commit
os: explain ProccessState.Exited() SIGKILL interaction
authorForest Johnson <forest.n.johnson@gmail.com>
Fri, 8 Oct 2021 19:03:35 +0000 (19:03 +0000)
committerAlexander Rakoczy <alex@golang.org>
Wed, 13 Oct 2021 15:56:29 +0000 (15:56 +0000)
commit53260943eac49dde51e0ce28e50e9b4bc90661b8
tree7b3b7062f6ac216d19dda51e4fff1ad48a5f1b3d
parentb8e4df01dd1aa61b3de978e4874c81b0d23349d5
os: explain ProccessState.Exited()  SIGKILL interaction

When a process is forcefully killed (for example, with SIGKILL on unix), its ProccessState.Exited() will return false.

Change-Id: I8cebc8d28f2ba1b687c145f6d941647fc3a10665
GitHub-Last-Rev: 414ae1980fe61dd530c46cc2c7f4de3a5bc83ed5
GitHub-Pull-Request: golang/go#48871
Reviewed-on: https://go-review.googlesource.com/c/go/+/354698
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/os/exec.go