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
dl: return the same exit status of the wrapped command #37266
Comments
Sounds reasonable to me! |
Change https://golang.org/cl/221978 mentions this issue: |
In https://golang.org/cl/221978 I have added the If the CL is approved, there are two functions, duplicated in |
I opened #37037 and have a CL chain for |
In the end, excluding I'm not against your CL, but I think having a |
I have updated https://golang.org/cl/221978. In addition to rebasing, I have also added the new Thanks. |
@dmitshur, when you have time can you review https://golang.org/cl/221978? I think that it is ready to be merged. Thanks. |
Currently, the
Run
function in theinternal/version
andgotip
packages returns the exit status1
if the wrapped command fails:I'm developing a package that wraps various
go
commands, and I'm adding support for testing different versions of thego
tool. Unfortunately one test that checks for the exit status 2 now fails.I'm using this patched version locally:
The text was updated successfully, but these errors were encountered: