Documentation ¶ Index ¶ func EnvForDir(dir string, base []string) []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EnvForDir ¶ func EnvForDir(dir string, base []string) []string EnvForDir returns a modified environment suitable for running in the given directory. The environment is the supplied base environment but with an updated $PWD, so that an os.Getwd in the child will be faster. Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.