Versions in this module Expand all Collapse all v0 v0.0.2 Sep 9, 2024 Changes in this version + var ErrExecutableNotFound = osexec.ErrNotFound + type Cmd interface + CombinedOutput func() ([]byte, error) + Output func() ([]byte, error) + Run func() error + SetDir func(dir string) + SetEnv func(env []string) + SetStderr func(out io.Writer) + SetStdin func(in io.Reader) + SetStdout func(out io.Writer) + Start func() error + StderrPipe func() (io.ReadCloser, error) + StdoutPipe func() (io.ReadCloser, error) + Stop func() + Wait func() error + type CodeExitError struct + Code int + Err error + func (e CodeExitError) Error() string + func (e CodeExitError) ExitStatus() int + func (e CodeExitError) Exited() bool + func (e CodeExitError) String() string + type ExitError interface + Error func() string + ExitStatus func() int + Exited func() bool + String func() string + type ExitErrorWrapper struct + func (eew ExitErrorWrapper) ExitStatus() int + type Interface interface + Command func(cmd string, args ...string) Cmd + CommandContext func(ctx context.Context, cmd string, args ...string) Cmd + LookPath func(file string) (string, error) + func New() Interface