Documentation ¶
Index ¶
- 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 ExecuteWithOptions(options Options) (out []byte, err error)
- func LoggedExecuteInDir(dir string, writer io.Writer, command string, arguments ...string) (out []byte, err error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteAsync ¶ added in v0.8.1
ExecuteAsync runs system command and doesn't wait when it's completed
func ExecuteAsyncInDir ¶ added in v0.8.1
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 ¶ added in v0.8.9
ExecuteString executes string based command
func ExecuteWithOptions ¶ added in v1.11.25
Execute runs system command and returns whole output also in case of error
Types ¶
Click to show internal directories.
Click to hide internal directories.