@util.debuglog
    def send_signal_process(self, process, signum):
        children = None
        try:
            # getting the process children
            children = process.children()

            # sending the signal to the process itself
            self.send_signal(process.pid, signum)
            self.notify_event("kill", {"process_pid": process.pid,
                                       "time": time.time()})
        except NoSuchProcess:
            # already dead !
            if children is None:
                return

        # now sending the same signal to all the children
        for child_pid in children:
            try:
                process.send_signal_child(child_pid, signum)
                self.notify_event("kill", {"process_pid": child_pid,
                                  "time": time.time()})
            except NoSuchProcess:
                # already dead !
                pass
Send the signum signal to the process
dataset/ETHPy150Open circus-tent/circus/circus/watcher.py/Watcher.send_signal_process