execute

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(e Command) (string, error)

Types

type Command

type Command struct {
	Cmd   string
	Args  []string
	Dir   string
	Stdin io.Reader
}

type CommandOutput

type CommandOutput struct {
	Output string
}

func RunCommands

func RunCommands(cmds []Command) ([]CommandOutput, error)

Jump to

Keyboard shortcuts

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