

def signal_kernel(self, signum):
    ' Sends a signal to the kernel. Note that since only SIGTERM is\n        supported on Windows, this function is only useful on Unix systems.\n        '
    if self.has_kernel:
        self.kernel.send_signal(signum)
    else:
        raise RuntimeError('Cannot signal kernel. No kernel is running!')

dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/engine/kernelstarter.py KernelStarter.signal_kernel/original