2
1
mirror of https://github.com/therootcompany/serviceman.git synced 2025-12-23 21:38:39 +00:00
serviceman/runner/runner_windows.go
2019-07-03 03:04:28 -06:00

11 lines
146 B
Go

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