(command string, env []string)
| 13 | ) |
| 14 | |
| 15 | func ExecSyscall(command string, env []string) error { |
| 16 | return syscall.Exec("/bin/sh", []string{"/bin/sh", "-c", command}, env) |
| 17 | } |
| 18 | |
| 19 | func BuildCommand(command string) *exec.Cmd { |
| 20 | return exec.Command("/bin/sh", "-c", command) |