Cleanup the children processes.
Create an array of children process groups. Create an array of children pids. Kill the children pids to prohibit them from spawning more processes. Kill the groups from top to bottom.
pid of the parent to analyze and kill the children of
a function that kill a process
a function that kill a process group
the process group of "this".
See Implementation
Cleanup the children processes.
Create an array of children process groups. Create an array of children pids. Kill the children pids to prohibit them from spawning more processes. Kill the groups from top to bottom.