Versions in this module Expand all Collapse all v0 v0.17.0 Apr 30, 2024 v0.16.0 Nov 9, 2023 Changes in this version + var ErrNotFound = exec.ErrNotFound + var LookPath = exec.LookPath + func IsCmdNotFound(err error) bool + func MaybeExec() + type Cmd interface + CombinedOutput func() ([]byte, error) + Kill func() error + Output func() ([]byte, error) + Pid func() int + Run func() error + Signaled func() bool + Start func() error + StderrPipe func() (io.ReadCloser, error) + StdinPipe func() (io.WriteCloser, error) + StdoutPipe func() (io.ReadCloser, error) + Wait func() error + type Entrypoint string + func NewEntrypoint(name string, fn entrypointFn) Entrypoint + func (e Entrypoint) Command(args ...string) *ExecCmd + func (e Entrypoint) Sudo(args ...string) *ExecCmd + type ExecCmd struct + func Command(name string, arg ...string) *ExecCmd + func CommandContext(ctx context.Context, name string, arg ...string) *ExecCmd + func (cmd *ExecCmd) Kill() error + func (cmd *ExecCmd) Pid() int + func (cmd *ExecCmd) Signaled() bool + func (cmd *ExecCmd) Wait() error