# Functions
AllowWinStderr exec option allows command to output to stderr without failing.
Build returns an instance of Options.
HideCommand exec option for hiding the command-string and stdin contents from the logs.
HideOutput exec option for hiding the command output from logs.
LogError exec option for enabling or disabling live error logging during exec.
Output exec option for setting output string target.
Redact exec option for defining a redact regexp pattern that will be replaced with [REDACTED] in the logs.
RedactString exec option for defining one or more strings to replace with [REDACTED] in the log output.
Sensitive exec option for disabling all logging of the command.
Stdin exec option for sending data to the command through stdin.
StreamOutput exec option for sending the command output to info log.
Sudo exec option for running the command with elevated permissions.
Writer exec option for sending command stdout to an io.Writer.
# Variables
Confirm will make all command execs ask for confirmation - this is a simplistic way for auditing what will be executed.
ConfirmFunc is called to ask for confirmation.
DebugFunc can be replaced to direct the output of exec logging into your own function (standard sprintf interface).
DisableRedact will make redact not redact anything.
ErrorFunc can be replaced to direct the output of exec logging into your own function (standard sprintf interface).
ErrRemote is returned when an action fails on remote host.
ErrSudo is returned when wrapping a command with sudo fails.
InfoFunc can be replaced to direct the output of exec logging into your own function (standard sprintf interface).
# Interfaces
Waiter is a process that can be waited to finish.
# Type aliases
Option is a functional option for the exec package.