> g_spawn_async_with_pipes() to launch an other executable (firefox in this 
> case).

Do you expect to provide input to Firefox's stdin, or get output from
its stdout, through the pipes then? (That would be a bit strange for a
GUI app like a web browser, wouldn't it?)

If not, instead of g_spawn_*,  just use one of the "normal" _spawn*()
family of functions in the Microsoft C library (declared in
<process.h>) with P_NOWAIT as the first parameter if you don't want to
wait for it to finish. Much simpler, and less chance that some bug or
misfeature in GLib is confusing you.

Sure, you will then have to use #ifdefs, but is that a big deal,
presumably it is in a single location in your app where you launch
Firefox.

--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to