os/exec: add fields for managing termination signals and pipes · Issue #50436 · golang/go

Background #23019 (accepted but not yet implemented; CC @ianlancetaylor @bradfitz) proposed to change exec.Cmd.Wait to stop the goroutines that are copying I/O to and from a completed exec.Cmd; see...