Env.setVariable

void setVariable(string name, string value, thrown IoError error)

Sets or replaces an environment variable.

Remarks

Throws IoError when the variable cannot be set.

Parameters

string
name

The variable name. Empty names and names containing = are invalid.

string
value

The new variable value. An empty string defines an empty variable.

thrown IoError
error

Generated with campc v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.