Re: GLib - Spawning Processes

2008-09-10 Thread Tor Lillqvist
> The following code is just simplified version of > the real one, but the behavior is the same. It works fine here. > Failed to execute helper program (Invalid argument) The gspawn-win32-helper.exe program isn't found. Depending on your GLib version. this either means that it isn't in your PATH

GLib - Spawning Processes

2008-09-09 Thread Tomas Soltys
Hi all, I have spent some time trying to create an application that would use GLib to spawn a process. The function I want to use is "g_spawn_async_with_pipes". The following code is just simplified version of the real one, but the behavior is the same. On Linux it works but on the Windows it

Glib, spawning processes & redirection

2005-02-24 Thread Jann - Ove Risvik
How do I redirect output(stdout) from a process spawned with one of the standard glib spawn functions to a file? I have managed to capture output in a gchar pointer, but if I try to do something with it, my app just segfaults. Any solution is welcome. Snippet on how I have managed to capture out