Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
Exec is a convenience method to run programs with arguments and return their combined stdout/stderr output as bytes.
func ExecPipe ¶
ExecPipe is a convenience method to run programs with arguments and return their combined stdout/stderr output while printing them both to calling process' stdout.
func ExecPipeToFds ¶
ExecPipeToFds runs the program with specified args and given out/err descriptiors. Non-specified (nil) descriptors will be replaced with default out stream.
func ExecWithStdin ¶
ExecWithStdin pipes given ReadCloser's contents to the stdin of executed command and returns stdout as bytes and redirects stderr of executed command stderr of executing process.
Types ¶
Click to show internal directories.
Click to hide internal directories.