go-serviceman/runner/runner_windows.go
2019-07-03 02:11:50 -06:00

12 lines
144 B
Go

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