executor

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Args    []string
	Command string
	Debug   bool
}

func NewExecutor

func NewExecutor(debug bool) *Executor

func (*Executor) Exec

func (e *Executor) Exec(execType string, command string, args ...string) ([]byte, error)

type ExecutorInterface

type ExecutorInterface interface {
	Exec(execType string, command string, args ...string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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