g_app_info_launch

Damian Ivanov via gnome-devel-list <[email protected]> Sat, 21 Dec 2019 20:11:18 +0200
Newsgroups gmane.comp.gnome.devel
Message-ID <CAPVS_cfxbDso1wLVwEDqrNxdS4hVDYBTLnxdS_czCAJ4997MTw@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