def kill(self, pid):
        """Kills a process that was started by run_async."""
        try:
            proc = self._procs.pop(pid)
        except __HOLE__:
            return -errno.ENOENT
        else:
            proc.kill()
            sts = proc.wait()
            return sts
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/remote/WindowsServer.py/Win32Agent.kill