示例#1
0
 def run(self,*args,**kwargs):
   log._disallow_tracing_control()
   try:
     r = _RealProcess.run(self, *args, **kwargs)
   finally:
     if log.trace_is_enabled():
       log.trace_flush() # todo, reduce need for this...
   return r
示例#2
0
 def run(self, *args, **kwargs):
     log._disallow_tracing_control()
     try:
         r = _RealProcess.run(self, *args, **kwargs)
     finally:
         if log.trace_is_enabled():
             log.trace_flush()  # todo, reduce need for this...
     return r