GNOME Bugzilla – Bug 369765
spawn_async and friends can't inherit from parent environment
Last modified: 2006-11-03 03:30:31 UTC
In the C glib functions g_spawn_async*, you can pass a NULL pointer to indicate that you want the new process to run in the same environment as the parent. The wrapper functions Glib::spawn_async do not allow this since they require a reference for the envp argument. I'll attach a patch that will pass a NULL pointer down to the Glib function if the passed envp array is empty
Created attachment 75907 [details] [review] patch to pass NULL for empty envp arrays This is a patch against head.
didn't notice the overload. Sorry. Ignore this.