Esempio n. 1
0
 def status(self):
     code = cext.proc_status(self.pid)
     if code in PROC_STATUSES:
         return PROC_STATUSES[code]
     # XXX is this legit? will we even ever get here?
     return "?"
Esempio n. 2
0
 def status(self):
     code = cext.proc_status(self.pid)
     if code in PROC_STATUSES:
         return PROC_STATUSES[code]
     # XXX is this legit? will we even ever get here?
     return "?"