Commit e767204e authored by Allison Karlitskaya's avatar Allison Karlitskaya

GSubprocessLauncher: don't get empty environment

Use g_get_environ() to get the environment variables with their values
instead of g_listenv() which only lists off the keys.
parent 9da88a12
......@@ -174,7 +174,7 @@ g_subprocess_launcher_finalize (GObject *object)
static void
g_subprocess_launcher_init (GSubprocessLauncher *self)
self->envp = g_listenv ();
self->envp = g_get_environ ();
#ifdef G_OS_UNIX
self->stdin_fd = -1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment