mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 13:29:44 +02:00
* fix(daemon): suppress agent terminal windows on Windows (#1471) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: add hideAgentWindow to detectCLIVersion and avoid SysProcAttr overwrite - Add missing hideAgentWindow(cmd) call in detectCLIVersion (claude.go:554) so --version checks don't flash console windows on Windows. - Refactor hideAgentWindow to preserve existing SysProcAttr fields instead of overwriting the entire struct. --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
149 B
Go
9 lines
149 B
Go
//go:build !windows
|
|
|
|
package agent
|
|
|
|
import "os/exec"
|
|
|
|
// hideAgentWindow is a no-op on non-Windows platforms.
|
|
func hideAgentWindow(cmd *exec.Cmd) {}
|