Documentation ¶
Index ¶
- type ProcessExecutor
- func (p ProcessExecutor) CreateProcess(executable string, execArgs ...interface{}) (*exec.Cmd, error)
- func (p ProcessExecutor) RunProcess(executable string, execArgs ...interface{}) error
- func (p ProcessExecutor) RunProcessAndCaptureOutput(executable string, execArgs ...interface{}) (string, error)
- func (p ProcessExecutor) RunProcessInDirAndCaptureOutput(workingDirectory string, executable string, execArgs ...interface{}) (string, error)
- func (p ProcessExecutor) RunWithProxy(withProxy fn) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessExecutor ¶
type ProcessExecutor struct {
// contains filtered or unexported fields
}
func NewProcessExecutor ¶
func NewProcessExecutor(debug bool) ProcessExecutor
func (ProcessExecutor) CreateProcess ¶
func (p ProcessExecutor) CreateProcess(executable string, execArgs ...interface{}) (*exec.Cmd, error)
func (ProcessExecutor) RunProcess ¶
func (p ProcessExecutor) RunProcess(executable string, execArgs ...interface{}) error
func (ProcessExecutor) RunProcessAndCaptureOutput ¶
func (p ProcessExecutor) RunProcessAndCaptureOutput(executable string, execArgs ...interface{}) (string, error)
func (ProcessExecutor) RunProcessInDirAndCaptureOutput ¶
func (p ProcessExecutor) RunProcessInDirAndCaptureOutput(workingDirectory string, executable string, execArgs ...interface{}) (string, error)
func (ProcessExecutor) RunWithProxy ¶
func (p ProcessExecutor) RunWithProxy(withProxy fn) error
Click to show internal directories.
Click to hide internal directories.