mirror of
https://github.com/Adembc/lazyssh.git
synced 2026-07-14 12:13:34 +02:00
fix: solve windows build issue
This commit is contained in:
@@ -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.
|
||||
}
|
||||
Reference in New Issue
Block a user