ENVIRONMENTs

Whether running Linux/Unix or Windows, all processes are run in an ENVIRONMENT. An ENVIRONMENT is a set of variables and values that affect how the operating system runs a process. By default, each command in a format's command array inherits its ENVIRONMENT from the servlet container, and the servlet container inherits its ENVIRONMENT from the user who owns the servlet container process.

You can run any command in a custom ENVIRONMENT:

On Windows, to check the values contained in the ENVIRONMENT, use cmd /C set as the third command in the command array. On Linux/Unix, use the env command with no arguments. The output will be included with the usual server messages.