linux_command_runner

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

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