Re: g_app_info_launch

Damian Ivanov via gnome-devel-list <[email protected]> Sun, 22 Dec 2019 06:52:08 +0200
Newsgroups gmane.comp.gnome.devel
Message-ID <CAPVS_ccneN6W9GwmA+y1gQyLV0H2DcnAoDp4eHpOf-unJsZcfw@mail.gmail.com>
I retract the question. I was using ctrl+c while calling process was
started from terminal.
Just using killall or killall -9 on calling process worked just fine.

On Sat, Dec 21, 2019 at 8:11 PM Damian Ivanov <[email protected]> wrote:
>
> 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