runcmd

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecParams

type ExecParams struct {
	PWD  string
	CMD  string
	Args []string

	EnvVars map[string]string
}

type Runner

type Runner struct{}

func (*Runner) Exec

func (*Runner) Exec(params *ExecParams) (string, error)

Exec the command defined in the provided params.

type RunnerAPI

type RunnerAPI interface {
	Exec(*ExecParams) (string, error)
}

Jump to

Keyboard shortcuts

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