shell

package
v0.0.0-...-e53fd9e Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(p *config.Parameters, l *log.Handler, c *config.Config, e *EnvSource) (shellErr error, cmdErr error)

Run executes a new shell with the given parameters and does not return until the shell exits or an error was encountered.

Types

type EnvSource

type EnvSource map[string][]byte

EnvSource contains each of the loadable environments available.

type Shell

type Shell struct {
	Cmd *exec.Cmd
}

Shell represents a running shell command process.

Jump to

Keyboard shortcuts

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