pid_t waitpid(pid_t pid, int* stat, int ops) ... fprintf(stderr, "fork error: %s\n", strerror(errno));! exit(0);! ... Else fork process to execute command.
確定! 回上一頁