Closed myitcv closed 5 years ago
Yes, you're right. There's no real reason not to relay the right exit code.
I've copied the code from the upcoming Go 1.12 release locally to gobin
, and added a test that ensures the correct exit code is relayed.
PTAL
Instead, rely on the program to output something sensible on stdout/stderr