Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2026 Changes in this version + type Cmd struct + Args []string + Dir string + Env []string + Name string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + type Fake struct + func (f *Fake) Calls() []Cmd + func (f *Fake) Run(_ context.Context, cmd Cmd) (Result, error) + func (f *Fake) Script(results ...ScriptedResult) + type OSRunner struct + func (*OSRunner) Run(ctx context.Context, cmd Cmd) (Result, error) + type Result struct + ExitCode int + Stderr string + Stdout string + func Emit(cmd Cmd, res Result) Result + func (r Result) OK() bool + type Runner interface + Run func(ctx context.Context, cmd Cmd) (Result, error) + type ScriptedResult struct + Err error + Result Result