exec

package
v38.0.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(ctx context.Context, args ...string) error

Command executes a shell command.

func CommandOutput

func CommandOutput(ctx context.Context, args ...string) ([]byte, error)

CommandOutput executes a shell command and returns the command's output.

func CommandVerbose

func CommandVerbose(ctx context.Context, args ...string) error

CommandVerbose executes a shell command while displaying its output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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