dams <[EMAIL PROTECTED]> writes: > > I got these popups before all right but I could just dismiss them and go > > further. Now it is impossible to use mcc at all :( > > I agree completely, but I don't know how to set the timeout then :( Any idea?
the proper way is usually to fork & wait4: -=-=---=-=---=-=---=-=---=-=---=-=---=-=-- if (!(pid = fork())) { char * child_argv[2]; child_argv[0] = binary; child_argv[1] = NULL; execve(child_argv[0], child_argv, env); printf("ERROR! Can't execute binary (%s)\n<press Enter>\n", binary); } while (wait4(-1, &wait_status, 0, NULL) != pid) {}; if (!WIFEXITED(wait_status) || WEXITSTATUS(wait_status) != 0) { error_message("Program exited abnormally (return code %d).", WEXITSTATUS(wait_status)); if (WIFSIGNALED(wait_status)) error_message("(received signal %d)", WTERMSIG(wait_status)); } -=-=---=-=---=-=---=-=---=-=---=-=---=-=-- -- Guillaume Cottenceau - http://www.frozen-bubble.org/