On Fri, 2006-11-24 at 04:42 +0200, Tor Lillqvist wrote: > Michael Torrie writes: > > there are routines in glib that should help you: > > > http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html > > > This is probably the most portable mechanism for running processes. > > But for somebody who doesn't know about system(), the g_spawn*() > functions probably have too many options to get lost in... > > system() is quite portable, too.
Very true. g_spawn* is overkill for this. On Unix, system() uses a shell to run the commandline specified. I'm not sure the behavior on Windows, but I imagine it probably uses the windows shell to execute the command line. > > --tml > > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list