parent
eaee67e438
commit
4b73667186
|
@ -70,7 +70,6 @@ func simpleProcess(cmd string) {
|
||||||
// cmd := exec.Command("ls", "/tmp", "/ballon", "/")
|
// cmd := exec.Command("ls", "/tmp", "/ballon", "/")
|
||||||
|
|
||||||
cmdArgs := strings.Fields(cmd)
|
cmdArgs := strings.Fields(cmd)
|
||||||
(a, b) := strings.Fields(cmd)
|
|
||||||
process := exec.Command(cmdArgs[0], cmdArgs[1:len(cmdArgs)]...)
|
process := exec.Command(cmdArgs[0], cmdArgs[1:len(cmdArgs)]...)
|
||||||
stdout, _ := process.StdoutPipe()
|
stdout, _ := process.StdoutPipe()
|
||||||
stderr, _ := process.StderrPipe()
|
stderr, _ := process.StderrPipe()
|
||||||
|
|
Loading…
Reference in New Issue