def kill(self, sig):
        """Attempt to kill the process if it still seems to be running. """
        if self._exit_status is not None:
            raise OSError(errno.ESRCH, os.strerror(errno.ESRCH))
        try:
            result = os.kill(self.pid(), sig)
        except __HOLE__, e:
            # not much we can do at this point.
            print "WTF? Kill threw an error:", e
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/runner/tsubprocess.py/Process.kill