package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Packages

Package stub has implementations of the shell package intended for use in tests where launching an external process is undesirable.

# Functions

CloneEnv returns a copy of the current process's environment variables.
Command returns a Cmd with the specified command and arguments set.
JoinEnv combines the given key and values into an environment variable string.
NewEnv returns a copy of the current process's environment variables.
SplitEnv splits the given environment variable string into key and values.

# Variables

LocalTarget is an implementation of Target that runs the command on the local machine using the exec package.

# Structs

Cmd holds the configuration to run an external command.
Env holds the environment variables for a new process.

# Interfaces

Process is the interface to a running process, as started by a Target.
Target is the interface for an object that supports execution of Commands.