package
1.24.4
Repository: https://pkg.go.dev/std
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

ErrDot indicates that a path lookup resolved to an executable in the current directory due to ‘.’ being in the path, either implicitly or explicitly.
ErrNotFound is the error resulting if a path search failed to find an executable file.
ErrWaitDelay is returned by [Cmd.Wait] if the process exits with a successful status code but its output pipes are not closed before the command's WaitDelay expires.

# 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.