executor

package
v2.3.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecPipeCommand

func ExecPipeCommand(out *bytes.Buffer, execStack ...*exec.Cmd) (err error)

ExecPipeCommand ... Executes a series of commands

func ExecuteCommand

func ExecuteCommand(command string, argv ...string) (string, error)

ExecuteCommand ... Executes a single command from strings

func ExecuteCommander

func ExecuteCommander(c Commander) error

ExecuteCommander ... Execute a function with control over stdout and stdin

Types

type Commander

type Commander interface {
	Run() error
}

Commander ... interface for os executions

Jump to

Keyboard shortcuts

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