environment

abstract fun environment(environmentVariables: Map<String, out Any>): ProcessForkOptions(source)

Adds some environment variables to the environment for this process.

Return

this

Since

0.9

Parameters

environmentVariables

The environment variables. Must not be null.


abstract fun environment(name: String, value: Any): ProcessForkOptions(source)

Adds an environment variable to the environment for this process.

Return

this

Since

0.9

Parameters

name

The name of the variable.

value

The value for the variable. Must not be null.