Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecCommander ¶
type ExecCommander struct{}
ExecCommander executes real system commands via os/exec.
func (*ExecCommander) Run ¶
Run executes a system command and returns its combined output. On failure the error includes the sanitized, truncated raw command output and the resolved PATH so that missing-binary issues are immediately diagnosable. Newlines in the output are replaced with spaces to keep structured log values single-line.
Click to show internal directories.
Click to hide internal directories.