osutils

package
v0.0.0-...-3af8ba7 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvList

func GetEnvList(enVars []string) map[string]string

func SetEnvList

func SetEnvList(enVars map[string]string) error

Types

type SystemCommand

type SystemCommand struct {
	Path                 string
	Args                 []string
	EnvVars              map[string]string
	ExecDir              string
	EnableShellExpansion bool
	// contains filtered or unexported fields
}

func (*SystemCommand) Run

type SystemCommandOutput

type SystemCommandOutput struct {
	FullCommand string
	ExitMessage string
	Stdout      string
	Stderr      string
	// contains filtered or unexported fields
}

func (SystemCommandOutput) Error

func (sco SystemCommandOutput) Error() string

func (SystemCommandOutput) HasError

func (sco SystemCommandOutput) HasError() bool

Jump to

Keyboard shortcuts

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