mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-10 02:16:45 +08:00
* fix(daemon): suppress agent terminal windows on Windows (#1471) Co-Authored-By: Claude Opus 4.6 <[email protected]> * 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 <[email protected]>
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) {}
|