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)
def processKilled(self, signum): debug("%s killed by signal %s" % (self, signalName(signum))) self._notRunning() return ProcessExit(self, signum=signum)
def processExited(self, code): debug("%s exited with code %s" % (self, code)) self._notRunning() return ProcessExit(self, exitcode=code)
def processTerminated(self): debug("%s terminated abnormally" % self) self._notRunning() return ProcessExit(self)
def processKilled(self, signum): self._notRunning() return ProcessExit(self, signum=signum)
def processTerminated(self): self._notRunning() return ProcessExit(self)