def poll(self, _deadstate=None):
        """Return the exit status of the child process if it has finished,
        or -1 if it hasn't finished yet."""
        if self.sts < 0:
            result = self._popen.poll(_deadstate)
            if result is not None:
                self.sts = result
        return self.sts
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/popen2.py/Popen3.poll/original