Fix compilation for Windows

This commit is contained in:
RandyTheSilly committed 2025-11-10 23:17:40 -05:00
1 parent a0f21b31f7
commit bc793178e1
23 files changed
+23 -6

No files matched your search

File renamed without changes.
File renamed without changes.
+9
View File
@@ -0,0 +1,9 @@
//go:build !windows
package global
import "syscall"
func GetSysProcAttr() *syscall.SysProcAttr {
return &syscall.SysProcAttr{Setsid: true}
}
+9
View File
@@ -0,0 +1,9 @@
//go:build windows
package global
import "syscall"
func GetSysProcAttr() *syscall.SysProcAttr {
return &syscall.SysProcAttr{}
}
File renamed without changes.
File renamed without changes.