unsetenv

open fun unsetenv(variable: String)

Removes the environment variable @variable from the environment of processes launched from this launcher.

On UNIX, the variable's name can be an arbitrary byte string not containing '='. On Windows, it should be in UTF-8.

Since

2.40

Parameters

variable

the environment variable to unset, must not contain '='