Destroy GSubprocessLauncher after spawn


Just a quick question: can I destroy a GSubprocessLauncher just after I called g_subprocess_launcher_spawn(), or I should wait until the child managed by the returned GSubprocess object died?


Yes, you can release a GSubprocessLauncher as soon as g_subprocess_launcher_spawn() returns a GSubprocess instance.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.