Merge branch 'fix-inherit-stdin' into 'master'

libsysprof: Actually set spawnable flags to inherit stdin

See merge request GNOME/sysprof!55
This commit is contained in:
Christian Hergert
2022-10-07 21:10:12 +00:00

View File

@ -666,6 +666,7 @@ sysprof_local_profiler_start_after_auth (SysprofLocalProfiler *self)
g_ptr_array_add (env, NULL);
sysprof_spawnable_set_flags (spawnable, flags);
sysprof_spawnable_set_environ (spawnable, (const gchar * const *)env->pdata);
sysprof_spawnable_append_args (spawnable, (const gchar * const *)priv->spawn_argv);