go-serviceman/runner/runner_windows.go

11 lines
146 B
Go

package runner
import (
"os/exec"
"syscall"
)
func backgroundCmd(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
}