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 ExpandFields ¶ added in v3.43.0
ExpandFields is a wrapper around expand.Fields. It will escape the input string, expand any shell symbols (such as '~') and resolve any environment variables. It also expands brace expressions ({a.b}) and globs (*/**) and returns the results as a list of strings.
func ExpandLiteral ¶ added in v3.43.0
ExpandLiteral is a wrapper around expand.Literal. It will escape the input string, expand any shell symbols (such as '~') and resolve any environment variables.
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.