Documentation
¶
Index ¶
- Constants
- func CmdStart(cmd *exec.Cmd) error
- func CmdWait(cmd *exec.Cmd, timeout time.Duration) (error, bool)
- func CommandRun(command string, timeout time.Duration) ([]byte, []byte, error)
- func RemoveWindowsCarriageReturns(b bytes.Buffer) bytes.Buffer
- func RunTimeout(cmd *exec.Cmd, timeout time.Duration) (error, bool)
- func TruncateStderr(buf bytes.Buffer) bytes.Buffer
Constants ¶
View Source
const MaxStderrBytes = 512
Variables ¶
This section is empty.
Functions ¶
func RemoveWindowsCarriageReturns ¶
RemoveWindowsCarriageReturns removes all carriage returns from the input if the OS is Windows. It does not return any errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.