Versions in this module Expand all Collapse all v0 v0.0.1 Nov 5, 2023 Changes in this version + var WithContext = func(ctx context.Context) func(c *commandeer) + var WithDir = func(dir string) func(c *commandeer) + var WithEnviron = func(env []string) func(c *commandeer) + var WithStderr = func(w io.Writer) func(c *commandeer) + var WithStdin = func(r io.Reader) func(c *commandeer) + var WithStdout = func(w io.Writer) func(c *commandeer) + func InPath(binaryName string) bool + func IsNotFound(err error) bool + func LookPath(binaryName string) string + func SafeCommand(name string, arg ...string) (*exec.Cmd, error) + type Exec struct + func New(cfg security.Config) *Exec + func (e *Exec) New(name string, arg ...any) (Runner, error) + func (e *Exec) Npx(name string, arg ...any) (Runner, error) + func (e *Exec) Sec() security.Config + type NotFoundError struct + func (e *NotFoundError) Error() string + type Runner interface + Run func() error + StdinPipe func() (io.WriteCloser, error)