Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run executes argv, redacts secrets from captured stdout/stderr to the supplied writers, and returns the child's exit code (128+sig on signal termination). SIGINT/SIGTERM are forwarded to the child.
func RunStreaming ¶
RunStreaming is like Run but emits redacted output line-by-line as the child produces it. Tradeoff: a credential split across newlines would be missed (each line is redacted independently). Use for background commands where the agent reads via BashOutput while the child still runs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.