g_app_info_launch fork?

Damian Ivanov via gnome-devel-list <[email protected]> Sat, 21 Dec 2019 20:10:33 +0200
Newsgroups gmane.comp.gnome.devel
Message-ID <CAPVS_cdGEuqmV0+C6FSK71pQfXCY5KBb3vy=E0jvWLPO2TyQTA@mail.gmail.com>
Hello,

I am using g_app_info_launch to launch an application, if the caller
application gets killed
the application launched with g_app_info_launch gets killed as well.

What is the proper way to prevent this?
Should one get the cmd_exe instead(it's from a desktop file) and use fork()?

Thanks in advance and best regards,
Damian