exec

package
v0.0.0-...-266c88a Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package exec provides a interface to run external commans as an abstraction layer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// Execute executes the specified command.
	Execute(cmd string, args []string, stdin io.Reader, stdout, stderr io.Writer) error
}

type OsExecutor

type OsExecutor struct{}

func (OsExecutor) Execute

func (OsExecutor) Execute(cmd string, args []string, stdin io.Reader, stdout, stderr io.Writer) error

Jump to

Keyboard shortcuts

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