Gio.AppLaunchContext.prototype.get_environment
function get_environment(): Array(String) { // Gjs wrapper for g_app_launch_context_get_environment() }
Gets the complete environment variable list to be passed to the child process when context is used to launch an application. This is a null-terminated array of strings, where each string has the form `KEY=VALUE`.
Since 2.32
- Returns
the child's environment