package
0.48.2
Repository: https://github.com/gruntwork-io/terratest.git
Documentation: pkg.go.dev

# Functions

GetExitCodeForRunCommandError tries to read the exit code for the error object returned from running a shell command.
RunCommand runs a shell command and redirects its stdout and stderr to the stdout of the atomic script itself.
RunCommandAndGetOutput runs a shell command and returns its stdout and stderr as a string.
RunCommandAndGetOutputE runs a shell command and returns its stdout and stderr as a string.
RunCommandAndGetStdOut runs a shell command and returns solely its stdout (but not stderr) as a string.
RunCommandAndGetStdOutE runs a shell command and returns solely its stdout (but not stderr) as a string.
RunCommandAndGetStdOutErr runs a shell command and returns solely its stdout and stderr as a string.
RunCommandAndGetStdOutErrE runs a shell command and returns solely its stdout and stderr as a string.
RunCommandE runs a shell command and redirects its stdout and stderr to the stdout of the atomic script itself.

# Structs

Command is a simpler struct for defining commands than Go's built-in Cmd.