Process, arguments & environment: process, os, std::env, <cstdlib>
#os is Go's interface to the operating system: Args, Getenv and LookupEnv, Exit, Getwd, the Stdin/Stdout/Stderr files, and file functions (Open, Create, ReadFile, WriteFile, MkdirAll, Remove). Failures come back as error values. os.Exit ends the program at once and skips deferred calls.
Complete program
Complete program. Standard library: ships with Go, no install.
Most used: os.Args, os.LookupEnv, os.Getenv, os.Exit, os.Getwd. Related packages: flag parses options, os/exec runs other programs, os/signal handles Ctrl-C.