避免僵尸进程
while(1){
ret = wait(NULL);
if (ret == -1){
if (error == EINTR){
continue;
}
}