Re: g_spawn_async_with_pipes and g_io_add_watch problem

2005-04-04 Thread Ole C.
Hello all again, I can't really seem to hack this, so I guess I give it another shot providing some code. The first spawn starts a c program that takes stdout from the perl script as input. The next spawn starts a perl script that reads a file, changes it and puts it on stdout. The callback func

Re: g_spawn_async_with_pipes and g_io_add_watch problem

2005-03-16 Thread Tim Müller
On Wednesday 16 March 2005 21:55, Ole C. wrote: > (snip a lot) I have to admit I have only quickly looked over your text and not read it in much detail, but it sounds like you might not be checking the condition in the g_io_add_watch() callback on a per-flag basis. Your callback could be call

g_spawn_async_with_pipes and g_io_add_watch problem

2005-03-16 Thread Ole C.
Hello, I am writing a GTK/GLIB application that will basically act as an interface for existing programs, and I have run into some problems while utilizing the function calls mentioned in the subject field. My issues are described below, sorry if it is a bit long winded. I don't have experience wi

g_spawn_async_with_pipes and g_io_add_watch problem

2005-03-15 Thread Ole C.
Hello, I am writing a GTK/GLIB application that will basically act as an interface for existing programs, and I have run into some problems while utilizing the function calls mentioned in the subject field. My issues are described below, sorry if it is a bit long winded. I don't have experience wi