

@util.debuglog
def send_signal_process(self, process, signum):
    'Send the signum signal to the process\n\n        The signal is sent to the process itself then to all the children\n        '
    children = None
    try:
        children = process.children()
        self.send_signal(process.pid, self)
        self.notify_event('kill', {
            'process_pid': process.pid,
            'time': time.time(),
        })
    except NoSuchProcess:
        if (children is None):
            return
    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:
            pass

dataset/ETHPy150Open circus-tent/circus/circus/watcher.py Watcher.send_signal_process/VarMisuse@45/100 `signum`->`self`