cmdrunner

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *realRunner

New returns a command runner.

Types

type Runner

type Runner interface {
	CombinedOutput(cmd string, args ...string) (output string, err error)
}

Runner has one method that executes a command and returns stdout and stderr.

Jump to

Keyboard shortcuts

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