Gio.SubprocessLauncher.prototype.unsetenv
function unsetenv(variable: String): void { // Gjs wrapper for g_subprocess_launcher_unsetenv() }
Removes the environment variable variable from the environment of processes launched from this launcher.
The variable name should be in the GLib file name encoding. On UNIX, this means that they can be arbitrary byte strings. On Windows, they should be in UTF-8.
Since 2.40
- variable
the environment variable to unset, must not contain '='