diff options
author | Russ Cox <rsc@golang.org> | 2021-01-07 11:21:37 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2021-01-08 17:13:48 +0000 |
commit | 6728118e0ae2658e758a64fe86e2e1a3aa55268c (patch) | |
tree | 7764b082fa7d2af4391b6a0fdd3b1767b6912d92 /test | |
parent | e65c543f3c34f4a505c37ebc3c2b608bc8ae83ec (diff) | |
download | go-6728118e0ae2658e758a64fe86e2e1a3aa55268c.tar.gz go-6728118e0ae2658e758a64fe86e2e1a3aa55268c.zip |
cmd/go: pass signals forward during "go tool"
This way, if a SIGINT is sent to the go command,
it is forwarded on to the underlying tool.
Otherwise trying to use os.Process.Signal to kill
"go tool compile" only kills the "go tool" not the "compile".
Change-Id: Iac7cd4f06096469f5e76164df813a379c0da3822
Reviewed-on: https://go-review.googlesource.com/c/go/+/282312
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions