shell

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(dir string, command string, options RunOptions) ([]byte, error)

func RunMany

func RunMany(dir string, commands []string, output *[]byte, shellRunOptions RunOptions) error

Types

type RunOptions

type RunOptions struct {
	Debug bool
	Env   map[string]string
}

func RunOptionsDefault

func RunOptionsDefault() RunOptions

Jump to

Keyboard shortcuts

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