Documentation ¶
Overview ¶
Package shellx runs external commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoCommandToExecute = errors.New("shellx: no command to execute")
ErrNoCommandToExecute means that the command line is empty.
Functions ¶
func Run ¶
func Run(logger model.InfoLogger, name string, arg ...string) error
Run executes the specified command with the specified args.
func RunCommandline ¶
func RunCommandline(logger model.InfoLogger, cmdline string) error
RunCommandline executes the given command line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.