(command string)
| 17 | } |
| 18 | |
| 19 | func BuildCommand(command string) *exec.Cmd { |
| 20 | return exec.Command("/bin/sh", "-c", command) |
| 21 | } |
| 22 | |
| 23 | func WritePipe(pipe string, contents []byte) { |
| 24 | handle, err := os.OpenFile(pipe, os.O_WRONLY, 0600) |
no outgoing calls
no test coverage detected