shell

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecShim

type ExecShim interface {
	LookPath(string) (string, error)
	Command(string, ...string) *exec.Cmd
}

ExecShim provides an abstraction layer to use the os/exec API.

Implementation of ExecShim MUST use os/exec (or an equivalent) if they act on the host system.

func New

func New() ExecShim

Returns a new execShellCommand.

Jump to

Keyboard shortcuts

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