exec

package
v0.0.0-...-5998bd7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Run() error
	Output() ([]byte, error)
}

Command is the common interface wrapping os/exec.Command() output

type Default

type Default struct{}

Default executor

func (*Default) Command

func (d *Default) Command(cmd string, args ...string) Command

Command implements exec.Executor

type Executor

type Executor interface {
	Command(string, ...string) Command
}

Executor is the common interface wrapping os/exec.Command()

Jump to

Keyboard shortcuts

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