Skip to content
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

cmd/go: toolID should separate stdout/stderr, ignore stderr if possible #22588

Closed
rsc opened this issue Nov 5, 2017 · 1 comment
Closed

cmd/go: toolID should separate stdout/stderr, ignore stderr if possible #22588

rsc opened this issue Nov 5, 2017 · 1 comment
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Nov 5, 2017

Sometimes people run with debugging prints enabled in the runtime, even for all.bash. toolID expects for example $(go tool -n compile) -V=full to print only the one version line. It dies if there is other output. It should separate stderr from stdout and not complain if there is unexpected stderr, provided the expected single line is found on stdout.

@rsc rsc added this to the Go1.10 milestone Nov 5, 2017
@gopherbot
Copy link

Change https://golang.org/cl/76017 mentions this issue: cmd/go: ignore stderr from tool version checks

@golang golang locked and limited conversation to collaborators Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants