SubprocessLauncher.unsetenv

void unsetenv(string variable)

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.

Parameters

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