This commit is contained in:
Junegunn Choi
2018-10-07 01:43:05 +09:00
parent fd8d371ac7
commit b46227dcb6
6 changed files with 13 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ import (
// ExecCommand executes the given command with cmd
func ExecCommand(command string, setpgid bool) *exec.Cmd {
return ExecCommandWith("cmd", command)
return ExecCommandWith("cmd", command, setpgid)
}
// ExecCommandWith executes the given command with cmd. _shell parameter is