|author||zikaeroh <email@example.com>||Wed Feb 05 00:08:27 2020 -0800|
|committer||Filippo Valsorda <firstname.lastname@example.org>||Thu Mar 18 19:08:03 2021 +0000|
internal/version: ignore signals intended for the child process Since the underlying toolchain is run as a child process (and not exec'd), signals that are sent to this process (for example, an interrupt sent by a shell) will be handled by both the parent and the child. This poses a problem for signals like SIGQUIT, where both processes' runtimes attempt to write out information to the same output. Before running the final command, start a signal handler that will ignore a signal sent to the parent, emulating the behavior of go run. This code is a modified version of cmd/go/internal/base. Fixes golang/go#36976. Change-Id: I29aa699dc059fd448aa9478f729ed8d90379616b Reviewed-on: https://go-review.googlesource.com/c/dl/+/217765 Trust: Emmanuel Odeke <email@example.com> Trust: Dmitri Shuralyov <firstname.lastname@example.org> Trust: Filippo Valsorda <email@example.com> Run-TryBot: Emmanuel Odeke <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Reviewed-by: Filippo Valsorda <firstname.lastname@example.org>
This repository holds the Go wrapper programs that run specific versions of Go, such as
go get golang.org/dl/go1.10.3 and
go get golang.org/dl/gotip.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “dl:” in the subject line, so it is easy to find.