in

natureIsCruel

natureIsCruel | program-memes | ProgrammerHumor.io
program-memes | ProgrammerHumor.io

Content

If the parent chooses to wait for the child to die. then the parent will receive the exit code of the program that the child executed. To prevent the child becomina a zombie the parent should call wait on its children, either periodically or upon receiving the SIGCHLD signal, which indicates a child process has terminated. ProgrammerHumor.