Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecRunner ¶
type ExecRunner struct {
// contains filtered or unexported fields
}
func NewExecRunner ¶
func NewExecRunner(l *log.Logger) *ExecRunner
type Options ¶
type Options struct {
Env map[string]string
Shell string // shell invocation, e.g. "sh -c" or "cmd /c"
Stdout io.Writer
Stderr io.Writer
}
func NewOptions ¶
func NewOptions() Options
func (Options) WithSysEnv ¶
type PrintRunner ¶
type PrintRunner struct {
// contains filtered or unexported fields
}
A PrintRunner only prints out what it WOULD run, rather than actually running it.
func NewPrintRunner ¶
func NewPrintRunner(l *log.Logger) *PrintRunner
type ProcessFailedError ¶
func (ProcessFailedError) Error ¶
func (e ProcessFailedError) Error() string
Click to show internal directories.
Click to hide internal directories.