-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go run leaves directories behind in /tmp #3572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Milestone
Comments
Too bad there's no portable remove-on-close capability. Labels changed: added priority-soon, removed priority-triage. Owner changed to @rsc. Status changed to Accepted. |
Presumably go run should ignore the signal, wait for the child to exit, and clean up. See also issue #3581. |
@rsc, the intention of ctrl-c is "I want this program to be stopped now". So, I think, ignoring the signal is not acceptable. Perhaps we could intercept ctrl+c and send it to the child process instead, and then wait for it to finish. Not sure about unix, but windows version, probably, should start child process in a new process group, like we already do in one of our tests in os/signal. Alex |
https://golang.org/cl/6903061/ Status changed to Started. |
Owner changed to @alexbrainman. |
Russ, do you agree with Dave's suggestion https://golang.org/cl/6903061/#msg6 ? Or should I leave out changes to "go test" altogether? Alex |
This issue was closed by revision 04f0d14. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
The text was updated successfully, but these errors were encountered: