util/ProcessLogger.py
changeset 3500 a88ac1760faf
parent 3297 7e59bd180bc6
child 3722 ffce28009ad3
equal deleted inserted replaced
3499:72ee59ff959c 3500:a88ac1760faf
   137             self.timeout = Timer(timeout, self.endlog)
   137             self.timeout = Timer(timeout, self.endlog)
   138             self.timeout.start()
   138             self.timeout.start()
   139         else:
   139         else:
   140             self.timeout = None
   140             self.timeout = None
   141 
   141 
   142         if _debug:
   142         if _debug and self.logger:
   143             self.logger.write("(DEBUG) launching:\n" + self.Command_str + "\n")
   143             self.logger.write("(DEBUG) launching:\n" + self.Command_str + "\n")
   144 
   144 
   145         self.Proc = subprocess.Popen(self.Command, **popenargs)
   145         self.Proc = subprocess.Popen(self.Command, **popenargs)
   146 
   146 
   147         self.outt = outputThread(
   147         self.outt = outputThread(