Skip to content

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

@rsc

Description

@rsc

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions