ExtractArchive.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:pyload-plugins 作者: pyload 项目源码 文件源码
def wait(self, timeout=0):
        """
        Wait for child process to terminate.  Returns returncode
        attribute.
        """
        if self.returncode is None:
            try:
                pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)

            except OSError, e:
                if e.errno != errno.ECHILD:
                    raise
                #: This happens if SIGCLD is set to be ignored or waiting
                #: For child processes has otherwise been disabled for our
                #: process.  This child is dead, we can't get the status.
                sts = 0
            self._handle_exitstatus(sts)
        return self.returncode
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号