mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: set default environment for spawnable
This commit is contained in:
@ -123,6 +123,8 @@ sysprof_spawnable_init (SysprofSpawnable *self)
|
||||
{
|
||||
self->next_fd = 3;
|
||||
|
||||
self->environ = g_get_environ ();
|
||||
|
||||
self->argv = g_ptr_array_new_with_free_func (g_free);
|
||||
g_ptr_array_add (self->argv, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user