Пример #1
0
 def status(self):
     suspended = cext.proc_is_suspended(self.pid)
     if suspended:
         return _common.STATUS_STOPPED
     else:
         return _common.STATUS_RUNNING
Пример #2
0
 def status(self):
     suspended = cext.proc_is_suspended(self.pid)
     if suspended:
         return _common.STATUS_STOPPED
     else:
         return _common.STATUS_RUNNING