Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
func RunCommand(command string, opt CommandOption) (stdout, stderr string, exitCode int, err error)
RunCommand runs command (in two string) and returns stdout, stderr strings and its exit code.
func RunCommandArgs ¶
func RunCommandArgs(cmdArgs []string, opt CommandOption) (stdout, stderr string, exitCode int, err error)
RunCommandArgs run the command
Types ¶
Click to show internal directories.
Click to hide internal directories.