Hello List readers, I've got a problem, i need to kill a program i run by doing a fork and a exec. When i kill the program i do a 'kill(pid,SIGKILL);' then to prevent a zombie i waitpid for the return value : 'waitpid(pid,&status,WUNTRACED);' this should prevent a zombie from forming. However, on slow hardware (it seems timing related), a zombie still appears. Here are some other details of the problem : OS : Suse 7.3 Actual kill code : /* * Make very sure it has ended and get return value */ kill(prog->pid,SIGKILL); waitpid(prog->pid,&status,WUNTRACED); // | WNOHANG); It happens on slow hardware, it will probably happen on fast hardware too only the change of it happening is muuuucccchh smaller. Do i do something wrong with the kill or the waitpid ?? Grtz Dries Pruimboom -- <End of message>