Files
Local-Cursor/internal/winexec/winexec_other.go
FuDie0915 db73cf5a39 chore: import Local-Cursor v1.1.8 source snapshot
Includes the current working directory changes. Historical commits and release binaries are excluded to limit Gitea storage.
Source base: d7515973fbfd6dd2001fa156c483455b8081c7cb
2026-11-10 01:24:28 +08:00

17 lines
345 B
Go

//go:build !windows
// Package winexec 非 Windows 平台直接透传 exec.Command。
package winexec
import "os/exec"
// Command 等价于 exec.Command。
func Command(name string, args ...string) *exec.Cmd {
return exec.Command(name, args...)
}
// Hide 非 Windows 平台无需处理。
func Hide(cmd *exec.Cmd) *exec.Cmd {
return cmd
}