Hi, [EMAIL PROTECTED] writes:
> I seem to be having a problem running child processes in my > directfb(cvs)/gtk(2.0.5) program. This might start to sound like a > pretty generic Linux/UNIX/gtk programming problem, but this program > works fine using the gtk library with X11 and with the generic > framebuffer. > > In a gtk signal call back I try to spawn a child process. I started > with using g_spawn_async_with_pipes() (which works fine using gtk with > X11 and generic frame buffer) but when the child process was failing > to start, I simplified the example with a simple fork()/exec() to see > what was going on. Still, I was not getting the exec() happening so I > removed that and now have a very simple fork()/exit(). you should be using _exit(). I'm not sure if this will solve your problem. However I'm surprised that you said your example works with GTK+-X11 because of the use of exit() instead of _exit(). This is a frequent mistake and it is mentioned in the GTK+ FAQ. Salut, Sven -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
