Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPath ¶ added in v0.1.1
ExpandPath expands a relative or home-relative path to an absolute path.
Types ¶
type DefaultCommander ¶
func (DefaultCommander) Exec ¶
func (c DefaultCommander) Exec(cmd *exec.Cmd) (string, error)
Exec executes a command and returns its output.
func (DefaultCommander) ExecSilently ¶
func (c DefaultCommander) ExecSilently(cmd *exec.Cmd) error
ExecSilently executes a command without returning its output.
type ShellError ¶
func (*ShellError) Error ¶
func (e *ShellError) Error() string
Click to show internal directories.
Click to hide internal directories.