Logo Search packages:      
Sourcecode: aap version File versions

def aap-1.090::popenerr::Popen3::poll (   self  ) 

Return the exit status of the child process if it has finished,
or -1 if it hasn't finished yet.

Definition at line 86 of file popenerr.py.

00086                   :
        """Return the exit status of the child process if it has finished,
        or -1 if it hasn't finished yet."""
        if self.sts < 0:
            try:
                pid, sts = os.waitpid(self.pid, os.WNOHANG)
                if pid == self.pid:
                    self.sts = sts
                    _active.remove(self)
            except os.error:
                pass
        return self.sts

    def wait(self):


Generated by  Doxygen 1.6.0   Back to index