Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecSimple ¶
ExecSimple provides a simple interface to execute a system command.
func ExecToFiles ¶
func ExecToFiles(command, stdoutFile, stderrFile string, perm os.FileMode) (bytes.Buffer, bytes.Buffer, error)
ExecToFiles provides a simple interface to execute a system command. Redirects for STDOUT and STDERR must be passed in as file names, not as `>` and `2>` UNIX file descriptors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.