binary

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdResult

type CmdResult struct {
	Stdout string
	Stderr string
}

CmdResult output of a command, including stdout and stderr

func Exec

func Exec(cmd string, args ...string) (CmdResult, error)

func ExecWithContext

func ExecWithContext(ctx context.Context, cmd string, args ...string) (CmdResult, error)

func ExecWithContextAndEnv

func ExecWithContextAndEnv(ctx context.Context, env []string, cmd string, args ...string) (CmdResult, error)

func ExecWithContextInDir

func ExecWithContextInDir(ctx context.Context, dir, cmd string, args, env []string) (CmdResult, error)

Jump to

Keyboard shortcuts

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