mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +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->next_fd = 3;
|
||||||
|
|
||||||
|
self->environ = g_get_environ ();
|
||||||
|
|
||||||
self->argv = g_ptr_array_new_with_free_func (g_free);
|
self->argv = g_ptr_array_new_with_free_func (g_free);
|
||||||
g_ptr_array_add (self->argv, NULL);
|
g_ptr_array_add (self->argv, NULL);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user