Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2026 Changes in this version + var ErrNonZeroExit = errors.New("process exited with non-zero status") + type Executor struct + func New(command string) *Executor + func (e *Executor) AddEnv(key, value string) + func (e *Executor) ExitCode() int + func (e *Executor) OnStderr(fn func(string)) + func (e *Executor) OnStdout(fn func(string)) + func (e *Executor) Run() error + func (e *Executor) SetDir(path string)