package
0.0.0-20190205125227-3b86d9c7fac3
Repository: https://github.com/dcos/dcos-go.git
Documentation: pkg.go.dev
# Functions
Command returns a Cmd from a shell command.
CommandContext returns a Cmd with the given context and shell command.
FullOutput runs a command and returns its stdout, stderr, exit code, and error status.
Run spawns the given command and returns a handle to the running process in the form of a CommandExecutor.
SimpleFullOutput runs a shell command with a timeout and returns its stdout, stderr, exit code, and error status.
# Structs
CommandExecutor is a structure returned by exec.Run Cancel can be used by a user to interrupt a command execution.