serviceman/runner/runner_windows.go

11 lines
146 B
Go
Raw Normal View History

2019-07-03 08:11:50 +00:00
package runner
import (
"os/exec"
2019-07-03 09:04:28 +00:00
"syscall"
2019-07-03 08:11:50 +00:00
)
2019-07-03 09:04:28 +00:00
func backgroundCmd(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
}