• Alex Brainman's avatar
    cmd/go: handle os signals · 04f0d148
    Alex Brainman authored
    Ignore signals during "go run" and wait for running child
    process to exit. Stop executing further tests during "go test",
    wait for running tests to exit and report error exit code.
    
    Original CL 6351053 by dfc.
    
    Fixes #3572.
    Fixes #3581.
    
    R=golang-dev, dave, rsc
    CC=golang-dev
    https://golang.org/cl/6903061
    04f0d148
build.c 35.3 KB