exec

package
v3.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

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) RunProcessAndCaptureStdout added in v3.3.1

func (p ProcessExecutor) RunProcessAndCaptureStdout(executable string, execArgs ...interface{}) (string, error)

func (ProcessExecutor) RunProcessInDirAndCaptureOutput

func (p ProcessExecutor) RunProcessInDirAndCaptureOutput(workingDirectory string, executable string, execArgs ...interface{}) (string, error)

func (ProcessExecutor) RunProcessInDirAndCaptureStdout added in v3.3.1

func (p ProcessExecutor) RunProcessInDirAndCaptureStdout(workingDirectory string, executable string, execArgs ...interface{}) (string, error)

func (ProcessExecutor) RunWithProxy

func (p ProcessExecutor) RunWithProxy(withProxy fn) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL