package
0.0.0-20181025162720-c8a214aafdbb
Repository: https://github.com/turbinelabs/nonstdlib.git
Documentation: pkg.go.dev
# Functions
ProcessErr converts the error value from an exec.Command execution into nil if the command exited with success as determined by checking err.Success().
Run executes a command constructed from the string arguments, then returns (stdout, stderr, error); if the process returns success (exit code 0) error is nil.
RunCmd executes a command then returns (stdout, stderr, error); if the process returns success (exit code 0) error is nil.
RunCmdInConsole runs the given exec.Cmd, printing Stdout and Stderr to the console info log.
RunCmdInTerm executes a command redirecting stderr, stdout, and stdin from the active TERM.
RunInConsole runs the given cmd string with optional arguments printing Stdout and Stderr to the console info log.
RunInTerm executes a command constructed from the string arguments, redirecting stderr, stdout, and stdin from the active TERM.