This commit is contained in:
2026-05-16 00:18:06 -03:00
commit 92941e68a2
66 changed files with 10352 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
//go:build windows
package oscmd
import (
"os/exec"
"syscall"
)
const createNoWindow = 0x08000000
func applyPlatformOptions(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{
HideWindow: true,
CreationFlags: createNoWindow,
}
}