Send the signal to the process group of the spawned process
thus handling all its children in the same group
(setsid is needed to get the process into a different group than watchdog)
patterns like "file.py" or "./file.py" won't be matched if they're not absolute
Merge branch 'terminate_subprocesses'