serviceman/runner/runner_windows.go

12 lines
144 B
Go
Raw Normal View History

2019-07-03 08:11:50 +00:00
package runner
import (
"os/exec"
)
func init() {
cmd, _ := exec.LookPath("cmd.exe")
if "" != cmd {
shellArgs = []string{cmd, "/c"}
}
}