Ejemplo n.º 1
0
 def processExited(self, code):
     if RUNNING_BSD and not self.exited:
         # on FreeBSD, we have to waitpid() twice
         # to avoid zombi process!?
         self.exited = True
         self.waitExit()
     self._notRunning()
     return ProcessExit(self, exitcode=code)
Ejemplo n.º 2
0
 def processKilled(self, signum):
     debug("%s killed by signal %s" % (self, signalName(signum)))
     self._notRunning()
     return ProcessExit(self, signum=signum)
Ejemplo n.º 3
0
 def processExited(self, code):
     debug("%s exited with code %s" % (self, code))
     self._notRunning()
     return ProcessExit(self, exitcode=code)
Ejemplo n.º 4
0
 def processTerminated(self):
     debug("%s terminated abnormally" % self)
     self._notRunning()
     return ProcessExit(self)
Ejemplo n.º 5
0
 def processKilled(self, signum):
     self._notRunning()
     return ProcessExit(self, signum=signum)
Ejemplo n.º 6
0
 def processTerminated(self):
     self._notRunning()
     return ProcessExit(self)