Files
AetherForge/agent/client/silent_stub.go
AetherForge 415b5dc6a3
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Release validation: tests green, USB pack, fleet UX and API hardening.
Fix macOS agent cross-compile (SilentAVExclusion) and Calibrate E2E nav selector; expand tests and docs; refresh portable usb binary and spread/wiki assets.
2026-06-06 16:57:39 -07:00

29 lines
715 B
Go

//go:build !windows
package client
import "os/exec"
// On non-Windows there are no console windows to hide; these are
// plain exec wrappers that mirror the silent_windows.go signatures.
func silentCmd(name string, arg ...string) *exec.Cmd {
return exec.Command(name, arg...)
}
func silentCombinedOutput(name string, arg ...string) ([]byte, error) {
return exec.Command(name, arg...).CombinedOutput()
}
func silentOutput(name string, arg ...string) ([]byte, error) {
return exec.Command(name, arg...).Output()
}
func silentRun(name string, arg ...string) error {
return exec.Command(name, arg...).Run()
}
func silentStart(name string, arg ...string) error {
return exec.Command(name, arg...).Start()
}