Hi all,

I use fork in my program and execute one GTK program, but I found it could not 
quit while I press quit button or press one key.

            pid_t pid;
            pid = fork();
            if (pid < 0){
                printf ("Error to fork \n");
            }else if(pid == 0){
                execlp ("/test-window", NULL, NULL);
            }

How could I use this?  Should not use fork in DFB?

Hope some suggestions, thanks in advance.

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to