package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

Command returns the Cmd struct to execute the named program with the given arguments.
CommandContext is like Command but includes a context.
LookPath searches for an executable named file in the directories named by the PATH environment variable.

# Variables

ErrNotFound is the error resulting if a path search failed to find an executable file.

# Structs

Cmd represents an external command being prepared or run.
Error is returned by LookPath when it fails to classify a file as an executable.
An ExitError reports an unsuccessful exit by a command.