fix: solve windows build issue

This commit is contained in:
Adem Baccara
2025-10-08 21:31:47 +01:00
parent 20fb256c29
commit 68dc0163ed
3 changed files with 23 additions and 5 deletions
@@ -0,0 +1,10 @@
//go:build windows
package services
import "syscall"
// setDetach is a no-op on Windows because syscall.SysProcAttr does not have Setsid.
func setDetach(attr *syscall.SysProcAttr) {
// No detachment tweak needed; Windows uses different process group semantics.
}