Documentation ¶
Index ¶
- Variables
- func Execute(command string, arguments ...string) (out []byte, err error)
- func ExecuteAsync(command string, arguments ...string) (cmd *exec.Cmd, err error)
- func ExecuteAsyncInDir(dir string, command string, arguments ...string) (cmd *exec.Cmd, err error)
- func ExecuteInDir(dir string, command string, arguments ...string) (out []byte, err error)
- func ExecuteString(command string) (out []byte, err error)
- func LoggedExecuteInDir(dir string, writer io.Writer, command string, arguments ...string) (out []byte, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GoEnviron []string // "MY_VAR=some_value"
Functions ¶
func ExecuteAsync ¶
ExecuteAsync runs system command and doesn't wait when it's completed.
func ExecuteAsyncInDir ¶
ExecuteAsyncInDir runs system command and doesn't wait when it's completed for specific directory.
func ExecuteInDir ¶
ExecuteInDir runs system command and returns whole output also in case of error in a specific directory
func ExecuteString ¶
ExecuteString executes string based command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.