command

package
v0.0.0-...-edb4bb3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandExecuter

type CommandExecuter struct {
	// contains filtered or unexported fields
}

func New

func New(errLogger, infLogger *log.Logger) *CommandExecuter

func (CommandExecuter) Execute

func (me CommandExecuter) Execute(cmd *exec.Cmd, input []byte) bool

type CommandFactory

type CommandFactory struct {
	Cmd  string
	Args []string
}

func Factory

func Factory(baseCmd string) *CommandFactory

func (CommandFactory) Create

func (me CommandFactory) Create() *exec.Cmd

Jump to

Keyboard shortcuts

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