Lines Matching refs:_popen
64 if p._popen.poll() is not None:
88 self._popen = None
115 assert self._popen is None, 'cannot start a process twice'
121 self._popen = self._Popen(self)
122 self._sentinel = self._popen.sentinel
133 self._popen.terminate()
140 self._popen.kill()
148 assert self._popen is not None, 'can only join a started process'
149 res = self._popen.wait(timeout)
162 if self._popen is None:
165 returncode = self._popen.poll()
179 if self._popen is not None:
180 if self._popen.poll() is None:
183 self._popen.close()
184 self._popen = None
210 assert self._popen is None, 'process has already started'
230 if self._popen is None:
231 return self._popen
232 return self._popen.poll()
243 return self._popen and self._popen.pid
267 elif self._popen is None:
270 exitcode = self._popen.poll()
277 if self._popen is not None:
278 info.append('pid=%s' % self._popen.pid)
365 self._popen = None
397 self._popen = None