]> Cypherpunks repositories - gostls13.git/commit
os: make Process.Signal 'process finished' error consistent on Unix
authorRuss Cox <rsc@golang.org>
Mon, 6 Oct 2014 19:49:19 +0000 (15:49 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 6 Oct 2014 19:49:19 +0000 (15:49 -0400)
commitd21b37bbe7b98316cc58df65a6032c3f3c20a605
tree6bc3465f54186182ecfeabef07ff214fa3868310
parent5b829cca12d029ca25a363637479373a6583dc93
os: make Process.Signal 'process finished' error consistent on Unix

While we're here, fix the implementation of Release on both
Unix and Windows: Release is supposed to make Signal an error.

While we're here, make sure we never Signal pid 0.
(Don't try this at home.)

Fixes #7658.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews, iant
https://golang.org/cl/152240043
src/os/exec_unix.go
src/os/exec_windows.go