executil

package
v0.85.0-pre.5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCommandExecutionTimedOut = errors.New("command execution timed out")
	ErrCommandExecutionCanceled = errors.New("command execution canceled")
)

Functions

func GetExecutableDir

func GetExecutableDir() (string, error)

func MakeCmdRunner

func MakeCmdRunner(commands ...string) func() error

func RunCmd

func RunCmd(commands ...string) error

func RunCmdCapture

func RunCmdCapture(commands ...string) (string, error)

func RunShell

func RunShell(command string) error

func RunShellWithContext

func RunShellWithContext(
	commandExecutionContext context.Context,
	command string,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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