#NEWLINE# def kill_process( proc ) : #NEWLINE# #INDENT# '\n    Kill the process `proc` created with `subprocess`.\n\n    Args:\n        process\n    Returns:\n        None\n    ' #NEWLINE# p1_group = psutil . Process ( child_pids . pid ) #NEWLINE# child_pids = p1_group . children ( recursive = True ) #NEWLINE# for child_pid in child_pids : #NEWLINE# #INDENT# os . kill ( child_pid . pid , signal . SIGKILL )