When you get an error such as a "Fatal IO error" when using GTK and forking a child process. you have just ran into a bug with GTK. GTK doesn't like the way the child exits when it is being forked.
To resolve this, make sure that we exit the child using: _exit (-1), instead of the normal exit function.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment