Originally posted as a Categorized Question.
In reply to How to kill a process after calling fork? by Anonymous Monk