14 lines
195 B
Go
14 lines
195 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package helper
|
|
|
|
import (
|
|
"os/exec"
|
|
"syscall"
|
|
)
|
|
|
|
func PrepareBackgroundCommand(cmd *exec.Cmd) {
|
|
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
|
}
|