AppLaunchContext.setenv

void setenv(string variable, string value)

Arranges for variable to be set to value in the child's environment when context is used to launch an application.

Parameters

variablethe environment variable to set
valuethe value for to set the variable to.