Joined: 14 Jun 2007 Posts: 936 Location: Falun, WI USA
Posted: Sat Oct 04, 2008 3:19 am Post subject: Using a pipe in a g_spawn call
Hi,
I'm trying to use a g_spawn call to handle a pipe. I'm calling glib-genmarshal from my program, and I'd like to avoid having to create a marhallers.list file.
The command I'm trying to get to work is this:
but this results in output holding the command that was passed to g_spawn.
error is still NULL and the function returns TRUE (indicating success).
So my question is this: Does anyone know how to use a pipe with a g_spawn call (I can use g_spawn_sync if necessary, but I'd prefer to use g_spawn_command_line_sync).
Thank you...