# Functions
ExecSudoCommand executes the given command in the same way as os.ExecCommand would do it.
Executes echo with sudo and connected stdin, stdout and stderr to ask for the users password.
IsExitCode checks the given error for a process exit error and if the exit code is the expected one.
RunCmd executes the given command including the current environment and returns the combined output as string.
RunSudoCmd executes the given command including the current environment using sudo and returns the combined output as string.
# Variables
Alias for os/exec.Command to allow mocking the command executions in tests.