Pass an empty array to set an empty environment. Pass null to inherit the
parent process’ environment. As of GLib 2.54, the parent process’ environment
will be copied when gio.subprocess_launcher.SubprocessLauncher.setEnviron is called.
Previously, it was copied when the subprocess was executed. This means the
copied environment may now be modified (using gio.subprocess_launcher.SubprocessLauncher.setenv,
etc.) before launching the subprocess.
On UNIX, all strings in this array can be arbitrary byte strings.
On Windows, they should be in UTF-8.
Replace the entire environment of processes launched from this launcher with the given 'environ' variable.
Typically you will build this variable by using glib.global.listenv to copy the process 'environ' and using the functions glib.global.environSetenv, glib.global.environUnsetenv, etc.
As an alternative, you can use gio.subprocess_launcher.SubprocessLauncher.setenv, gio.subprocess_launcher.SubprocessLauncher.unsetenv, etc.
Pass an empty array to set an empty environment. Pass null to inherit the parent process’ environment. As of GLib 2.54, the parent process’ environment will be copied when gio.subprocess_launcher.SubprocessLauncher.setEnviron is called. Previously, it was copied when the subprocess was executed. This means the copied environment may now be modified (using gio.subprocess_launcher.SubprocessLauncher.setenv, etc.) before launching the subprocess.
On UNIX, all strings in this array can be arbitrary byte strings. On Windows, they should be in UTF-8.