package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev
# Functions
CreateJobObject returns a job object.
DefaultConfig creates a config with pre-set default values.
NewJob is noop on unix.
Start starts a new process.
WithArgs sets arguments.
WithCmdOptions sets the exec.Cmd options.
WithContext sets an optional context.
WithEnv sets the environment variables.
WithGID sets GID.
WithUID sets UID.
WithWorkDir sets the cmd working directory.
# Variables
JobObject is public global JobObject, 0 value on linux.
# Structs
Config for fine tuning new process.
Info groups information about fresh new process.
StartConfig configuration for the process start set by the StartOption functions.
# Type aliases
CmdOption is an option func to change the underlying command.
Job is noop on unix.
StartOption start options function.