execution

package
v1.4.4-beta.6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner interface {
	ExecCmds(ctx context.Context, callback func(*StdLine), cmds ...*exec.Cmd) error
}

func NewCommandRunner

func NewCommandRunner() CommandRunner

type StdLine

type StdLine struct {
	Type StdType
	Line string
}

type StdType

type StdType string
const StdTypeErr StdType = "stderr"
const StdTypeOut StdType = "stdout"

Jump to

Keyboard shortcuts

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