https://keroseneheaterreview.blogspot.com/2023/02/kill-process-and-its-subco-processes-by.html
Kill Process And Its Sub/co-processes By Getting Their Parent Pid By Python Script