(cmdLineStr string)
| 32 | } |
| 33 | |
| 34 | func runCmdLocallyForTesting(cmdLineStr string) (exitCode int, output []byte, err error) { |
| 35 | cmdLine := strings.Split(cmdLineStr, " ") |
| 36 | |
| 37 | cmd := exec.Command(cmdLine[0], cmdLine[1:]...) |
| 38 | |
| 39 | output, err = cmd.CombinedOutput() |
| 40 | exitCode = cmd.ProcessState.ExitCode() |
| 41 | return |
| 42 | } |
no outgoing calls