code: def RunWithFlag(flag):
      """Runs gtest_help_test_ with the given flag.
  
      Returns:
        the exit code and the text output as a tuple.
      Args:
        flag: the command-line flag to pass to gtest_help_test_, or None.
      """
  
      if flag is None:
          command = [PROGRAM_PATH]
      else:
          command = [PROGRAM_PATH, flag]
      child = gtest_test_utils.Subprocess(command)
      return child.exit_code, child.output
  
file_path: open-asset-importer/contrib/googletest/googletest/test/gtest_help_test.py
imports: import os
  import re
  import sys
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: RunWithFlag(flag) and returns: child,  child