On Thu, 5 Jun 2014 17:59:15 +0100 Chris Vine <ch...@cvine.freeserve.co.uk> wrote: > On Thu, 5 Jun 2014 16:08:07 +0000 > "Mazer, Alan S (389M)" <alan.s.ma...@jpl.nasa.gov> wrote: > > Here you go. This code implements a simple command processor, one > > command of which starts up a gtk app. I tried it with an app of > > mine called "ngdcs" and it works. You might want to read up on > > fork and exec ("man fork", "man execv") but this does work for me: > > Since the OP is using GTK+, it seems more logical to use > g_spawn_async() or g_spawn_async_with_pipes(), the latter of which > will also set up pipes for stdin, stdout and stderr for you. (And > they are also cross-platform.) > > https://developer.gnome.org/glib/2.40/glib-Spawning-Processes.html
And I now see that this is the gtkmm and not gtk mailing list. In which case there is: https://developer.gnome.org/glibmm/stable/group__Spawn.html Chris _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list