]> Cypherpunks repositories - gostls13.git/commit
os: export errFinished as ErrProcessDone
authorColin Arnott <colin@urandom.co.uk>
Thu, 16 Jul 2020 17:42:47 +0000 (17:42 +0000)
committerTobias Klauser <tobias.klauser@gmail.com>
Sat, 31 Oct 2020 08:41:25 +0000 (08:41 +0000)
commitf14119b561cfeefb93e8d773033caeea572dbe71
tree4385dac30bb4ca224a534118731e121491b9df19
parent12a2e72065105a7c167d7f41500b5a80547f14d0
os: export errFinished as ErrProcessDone

(*Process).Signal returns an error sentinel, previously errFinished,
when (*Process).done or syscall.ESRCH. Callers would like the ability to
test for this state, so the value has been exported as ErrProcessDone.

Fixes #39444

Change-Id: I510e7647cc032af290180de5149f35ab7b09a526
Reviewed-on: https://go-review.googlesource.com/c/go/+/242998
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
src/os/exec_unix.go
src/os/exec_unix_test.go [new file with mode: 0644]