code: def run_clang_tidy_command(tidy_cmd):
      cmd = " ".join(tidy_cmd)
      result = subprocess.run(
          cmd,
          check=False,
          shell=True,
          stdout=subprocess.PIPE,
          stderr=subprocess.STDOUT,
      )
      status = result.returncode == 0
      if status:
          out = ""
      else:
          out = "CMD: " + cmd
      out += result.stdout.decode("utf-8").rstrip()
      return status, out
  
imports: import re
  import os
  import subprocess
  import argparse
  import json
  import multiprocessing
  import shutil
label_desc: Use image node_id 9 for calling a global function with example usage: run_clang_tidy_command(tidy_cmd) and returns: status,  out