def display(self):
     if self.pid is not None and self.status is not None:
         message = formatProcessStatus(self.status, "Process %s" % self.pid)
         error(message)
     else:
         error("Child process exited")
     if self.uid is not None:
         error("Signal sent by user %s" % self.uid)
Beispiel #2
0
 def display(self):
     if self.pid is not None and self.status is not None:
         message = formatProcessStatus(self.status, "Process %s" % self.pid)
         error(message)
     else:
         error("Child process exited")
     if self.uid is not None:
         error("Signal sent by user %s" % self.uid)
Beispiel #3
0
 def __init__(self, pid=None, status=None, uid=None):
     if pid is not None and status is not None:
         message = formatProcessStatus(status, "Child process %s" % pid)
     else:
         message = "Child process exited"
     SignalInfo.__init__(self, "child_exit", message)
     self.pid = pid
     self.status = status
     self.uid = uid
 def __init__(self, pid=None, status=None, uid=None):
     if pid is not None and status is not None:
         message = formatProcessStatus(status, "Child process %s" % pid)
     else:
         message = "Child process exited"
     SignalInfo.__init__(self, "child_exit", message)
     self.pid = pid
     self.status = status
     self.uid = uid