cmd/go: run does not relay signals to child process #40467
Comments
This issue seems to be related to my case. main.go
Running and sending interrupt, the following works as expected:
But this exits before the child process:
|
@tie That's probably related to or the same as #36976, as the Otherwise my understanding (based on trying to fix #36976) is that It'd be nice if all of these would re-exec their binaries rather than running them as children on OSs that supported it, as that'd eliminate all of these for most users. Though perhaps that's not doable if |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
The interrupt signal to be passed to the child process by
go run
, I think?What did you see instead?
The
go run
child process does not relay the interrupt signal to the child process.cc @bcmills @jayconrod @matloob
The text was updated successfully, but these errors were encountered: