Operating system processes > Setting environment variables



Word description
Possible value of environment-mode slot of a process.

If this value is set, the child process environment consists of the value of the environment slot together with the current environment, with entries from the current environment taking precedence.

This is used in situations where you want to spawn a child process with some default environment variables set, but allowing the user to override these defaults by changing the environment before launching Factor.