environment property

Map<String, String> environment
final

The environment to run processes with.

Sets the environment variables for the process. If not set, the environment of the parent process is inherited. Currently, only US-ASCII environment variables are supported and errors are likely to occur if an environment variable with code-points outside the US-ASCII range are passed in.

Implementation

final Map<String, String> environment;