Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilOptions = errors.New("execext: nil options given")
ErrNilOptions is returned when a nil options is given
Functions ¶
func Expand ¶
Expand is a helper to github.com/sciabarracom/shell.Fields that returns the first field if available.
func IsExitError ¶
IsExitError returns true the given error is an exis status error
func RunCommand ¶
func RunCommand(ctx context.Context, opts *RunCommandOptions) error
RunCommand runs a shell command
Types ¶
Click to show internal directories.
Click to hide internal directories.