Categorygithub.com/go-cmd/run
modulepackage
0.0.0-20170310180348-31429b31d2ba
Repository: https://github.com/go-cmd/run.git
Documentation: pkg.go.dev

# README

go-cmd/Run

Strategies for running commands with a uniform interface.

# Functions

NewRunSync creates a new RunSync.

# Variables

ErrNonzeroExit is returned by a Runner if a Cmd returns a non-zero exit code.
ErrRunning is returned by a Runner if its Run method is called while still running.
ErrStopped is returned by a Runner if its Stop method is called before Run finishes.

# Structs

RunSync is a Runner that runs commands synchronously in the order given.

# Interfaces

A Runner runs a list of commands.

# Type aliases

A Factory makes a Runner for the given strategy.