def interrupt(self):
        s = self._intf
        fo = s.fileobject()
        fo.interrupt()
        s.wait_for_prompt()
        s.send("echo $?\r")
        s.readline()
        ret = s.readline()
        s.wait_for_prompt()
        ret = ExitStatus("<interrupted process>", int(ret)<<8)
        return ret
Interrupt a running process. Return the exit value.
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/ssh_controller.py/ShellController.interrupt