command

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStdOutAndStdErr

func GetStdOutAndStdErr(cmd *exec.Cmd) (*bytes.Buffer, *bytes.Buffer)

Types

type Commander

type Commander interface {
	Execute(name string, args ...string) (string, error)
}

type CommanderUnix

type CommanderUnix struct{}

func (*CommanderUnix) Execute

func (c *CommanderUnix) Execute(name string, args ...string) (message string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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