📌  相关文章
📜  是什么导致 Linux 系统上的一个无效进程以及如何避免它? - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:28.454000             🧑  作者: Mango

代码示例1
When you create a process, it sticks around until its parent reaps it. 
(If its parent exits first, it will get auto-reaped.) A process can reap
its children using wait or waitpid. It can also cause it's children to 
be automatically reaped by using local $SIG{CHLD} = 'IGNORE'; before 
creating the child.