Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandNotRunningError

type CommandNotRunningError struct {
	// contains filtered or unexported fields
}

func (CommandNotRunningError) Error

func (e CommandNotRunningError) Error() string

type RealCommandRunner

type RealCommandRunner struct{}

func New

func New() *RealCommandRunner

func (*RealCommandRunner) Background

func (r *RealCommandRunner) Background(cmd *exec.Cmd) error

func (*RealCommandRunner) Kill

func (r *RealCommandRunner) Kill(cmd *exec.Cmd) error

func (*RealCommandRunner) Run

func (r *RealCommandRunner) Run(cmd *exec.Cmd) error

func (*RealCommandRunner) Signal

func (r *RealCommandRunner) Signal(cmd *exec.Cmd, signal os.Signal) error

func (*RealCommandRunner) Start

func (r *RealCommandRunner) Start(cmd *exec.Cmd) error

func (*RealCommandRunner) Wait

func (r *RealCommandRunner) Wait(cmd *exec.Cmd) error