()
| 43 | } |
| 44 | |
| 45 | func GetCwd() string { |
| 46 | dir, err := os.Getwd() |
| 47 | if err != nil { |
| 48 | log.Fatalf("Getting working directory failed: %v\n", err) |
| 49 | panic(err) |
| 50 | } |
| 51 | |
| 52 | return dir |
| 53 | } |
| 54 | |
| 55 | func ExecuteCommand(cmd *exec.Cmd, pathPrefix string, envars []string, shouldPipeStdErr bool) error { |
| 56 |
no outgoing calls
no test coverage detected