Gio.AppLaunchContext.prototype.setenv
function setenv(variable: String, value: String): void { // Gjs wrapper for g_app_launch_context_setenv() }
Arranges for variable to be set to value in the child's environment when context is used to launch an application.
Since 2.32
- variable
the environment variable to set
- value
the value for to set the variable to.