UtilsA.setEnv
Sets the named environment variable to the specified value. If the variable already has a value, it is overwritten.
UtilsA.setEnv(name, value);
Arguments
Name | Description |
---|---|
name | (string) Name of the environment variable. |
value | (string) Value to set for the environment variable. |
Return value
A promise that will be fulfilled with no arguments.
Example
UtilsA.setEnv("PATH", "C:\\myproduct\\").then(function(){
TCA.done();
}).catch(function (error) {
TCA.doneWithError(error);
});