Documentation ¶
Index ¶
- type CommandNotRunningError
- type RealCommandRunner
- func (r *RealCommandRunner) Background(cmd *exec.Cmd) error
- func (r *RealCommandRunner) Kill(cmd *exec.Cmd) error
- func (r *RealCommandRunner) Run(cmd *exec.Cmd) error
- func (r *RealCommandRunner) Signal(cmd *exec.Cmd, signal os.Signal) error
- func (r *RealCommandRunner) Start(cmd *exec.Cmd) error
- func (r *RealCommandRunner) Wait(cmd *exec.Cmd) error
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
Click to show internal directories.
Click to hide internal directories.