shell

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

type Shell struct {
	Environment []string
}

func NewShell

func NewShell(environment []string) *Shell

func (*Shell) RunCommand

func (s *Shell) RunCommand(app string, args ...string) (string, error)

RunCommand runs the given command and panics on error

Jump to

Keyboard shortcuts

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