exec

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrRun means run error.
	ErrRun = errors.New("exec: run error")

	// ErrMetaChars means meta chars detected.
	ErrMetaChars = errors.New("exec: detected meta chars")
)

Functions

func Run

func Run(bin string, args ...string) (string, error)

Run executes given binary with given args. Mainly for integrations, nothing else. Avoid this wherever possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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