Re: Using fork() in a GTK C/Vala application



On Wed, 2 Sep 2015 10:50:43 +0200
Gian Mario Tagliaretti <gianmt gnome org> wrote:
On 2 September 2015 at 05:33, Jim Charlton <charltn gmail com> wrote:

Hi Jim,

I have had similar problems and ended up using
g_spawn_async_with_pipes() with a separate binary.  This works well
for me as I often need to launch several instances of this "thread".

g_spawn_async_* have the (personally unwanted) behavior on windows to
open a console for each process [1], which is quite horrible for the
user.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=509201

If you have glib >= 2.40, try GSubProcess.

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]