We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a2334 commit ed8cf39Copy full SHA for ed8cf39
pb/protos_test.go
@@ -15,10 +15,11 @@ import (
15
func Exec(argv ...string) error {
16
cmd := exec.Command(argv[0], argv[1:]...)
17
18
- if err := cmd.Start(); err != nil {
19
- return err
+ output, err := cmd.CombinedOutput()
+ if len(output) > 0 {
20
+ print(string(output))
21
}
- return cmd.Wait()
22
+ return err
23
24
25
func TestProtosRegenerate(t *testing.T) {
0 commit comments