Is there a command in ruby that when given the pid , it will terminate
all children processes of that pid including itself.

It seems that Process.kill(9, pid) only kills the parent and not the
children.


thanks