fix: use build tags for Setpgid (Unix-only) to fix Windows build

This commit is contained in:
2026-05-26 14:46:36 +01:00
parent a81482d06a
commit a5b18140d3
3 changed files with 22 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
//go:build windows
package hooks
import "os/exec"
func setSysProcAttr(cmd *exec.Cmd) {
// Windows has no Setpgid; process groups work differently.
}