Destroy GSubprocessLauncher after spawn

Hello:

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?

Thanks.

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.