title: How can i prevent a child process to NOT become a zombie if parent exits
body: <p>My main process spawns a child process. If the main process is killed, the child would be assigned ppid of 1. When the child exits, it would become a zombie as init has not called wait() on this child. Is there a way to avoid this situation?</p>