exec

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockCmd

func NewMockCmd(rc io.ReadCloser) exec.Cmd

NewMockCmd creates a new mock Cmd with rc as its stdout pipe

func NewMockCmdString

func NewMockCmdString(s string) exec.Cmd

NewMockCmdString creates a new mock Cmd which has s on its stdout pipe

Types

This section is empty.

Jump to

Keyboard shortcuts

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