Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(daemon): restore HideWindow: true for Windows daemon child process

yushen0a0a86da2c65
diff --git a/server/cmd/multica/cmd_daemon_windows.go b/server/cmd/multica/cmd_daemon_windows.go
index 8b92977313..2dee846a69 100644
--- a/server/cmd/multica/cmd_daemon_windows.go
+++ b/server/cmd/multica/cmd_daemon_windows.go
@@ -18,7 +18,10 @@ const (
)
func daemonSysProcAttr() *syscall.SysProcAttr {
- return &syscall.SysProcAttr{CreationFlags: createNewProcessGroup}
+ return &syscall.SysProcAttr{
+ HideWindow: true,
+ CreationFlags: createNewProcessGroup,
+ }
}
func stopDaemonProcess(process *os.Process) error {