Documentation ¶
Index ¶
- Variables
- func Run(command string, args ...string) error
- func RunCommand(cmd *exec.Cmd, silent bool) error
- func RunInDir(dir, command string, args ...string) error
- func RunInDirSilently(dir, command string, args ...string) error
- func RunSilently(command string, args ...string) error
- type RunError
- type RunFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandRunner = func(cmd *exec.Cmd) error {
return cmd.Run()
}
CommandRunner is for running the command
Functions ¶
func RunInDirSilently ¶
RunInDirSilently run the command in the specified directory silently
func RunSilently ¶
RunSilently runs the command silently
Types ¶
Click to show internal directories.
Click to hide internal directories.