Documentation
¶
Index ¶
Constants ¶
View Source
const ShellStreamBufferSize = 1 << 20
ShellStreamBufferSize is the size of the output buffers when streaming command stdout and stderr
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func ExecCommand(outStream, errStream formatStream, workingDir, user, cmdName string, cmdArgs ...string) error
ExecCommand exec a cmd and args inside workingDir as user, returns error if cmd fails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.