runner

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsRunner

type OsRunner struct {
	Dir string
}

OsRunner runs commands using the operating system.

func NewOsRunner

func NewOsRunner() *OsRunner

NewOsRunner creates an operating system based runner.

func (*OsRunner) Run

func (r *OsRunner) Run(command, workdir string, args ...string) ([]byte, error)

Run takes a command and it's arguments and runs it locally.

Jump to

Keyboard shortcuts

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