Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sudo ¶
type Sudo struct { Stderr io.Writer // where to pass stderr once sudo is done StdinPipe io.WriteCloser // pipe to the cmds stdin // contains filtered or unexported fields }
Sudo can be used to connect to stderr and stdin to detect and respond to sudo password prompts.
Click to show internal directories.
Click to hide internal directories.