code: def runTask(self, task, timeout=None):
          
          # Initialize the task.
          task.initialize(self)
  
          # Start the task.
          task.start()
  
          # Lets other threads run
          time.sleep(0)
  
          # Wait for it to finish.
          res = task.wait(timeout=timeout)
  
          # Now we're done
          return res
docs: Run a child task to completion.  Returns the result of
          the child task.