in reply to Parent process does not wait for Child processes to finish and exits after the waitpid statement