12 lines
144 B
Go
12 lines
144 B
Go
|
package runner
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
cmd, _ := exec.LookPath("cmd.exe")
|
||
|
if "" != cmd {
|
||
|
shellArgs = []string{cmd, "/c"}
|
||
|
}
|
||
|
}
|