commandrunner

package module
v0.0.0-...-ca6ad04 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 37

README

Command Runner

A generic interface for running or faking shell commands on Linux and Windows.

Testing

Note that the linux_command_runner tests will only pass on Linux and similarly the windows_command_runner tests will only pass on Windows.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner interface {
	Run(*exec.Cmd) error
	Start(*exec.Cmd) error
	Background(*exec.Cmd) error

	Wait(*exec.Cmd) error
	Kill(*exec.Cmd) error
	Signal(*exec.Cmd, os.Signal) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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