예제 #1
0
 def wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except _psposix.TimeoutExpired:
         # support for private module import
         if TimeoutExpired is None:
             raise
         raise TimeoutExpired(timeout, self.pid, self._name)
예제 #2
0
 def wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except _psposix.TimeoutExpired:
         # support for private module import
         if TimeoutExpired is None:
             raise
         raise TimeoutExpired(timeout, self.pid, self._name)
예제 #3
0
 def process_wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except TimeoutExpired:
         raise TimeoutExpired(self.pid, self._process_name)
예제 #4
0
파일: _psosx.py 프로젝트: basketwill/psutil
 def process_wait(self, timeout=None):
     try:
         return _psposix.wait_pid(self.pid, timeout)
     except TimeoutExpired:
         raise TimeoutExpired(self.pid, self._process_name)