Hi.

I'm writing an app that executes a program with popen(). In a function
I'm trying to read the programs output with the following loop:

while (!feof(_stdout_)) {
        /* Get the string*/
}
/* set the string to a gtktextview */

I add the function to the main loop with g_idle_add(). But when I run
the program it get's unresponsive until the whole popen()-ed program
finishes. What's wrong?

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to