Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecString ¶
ExecString executes command and returns its stdout as string.
func NewExecutionError ¶
Types ¶
type Command ¶
type Command struct { Args []string ExtraVars []string Dir string Stdin io.Reader Stdout io.Writer Stderr io.Writer }
Command defines a command specification.
type ExecutionError ¶
func (*ExecutionError) Error ¶
func (e *ExecutionError) Error() string
func (*ExecutionError) Unwrap ¶
func (e *ExecutionError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.