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,
      )
      passed = result.returncode == 0
      out = (
          ""
          if passed
          else f"CMD: {cmd}: {result.stdout.decode('utf-8').rstrip()}"
      )
      return passed, out
  
imports: import argparse
  import json
  import multiprocessing
  import os
  import re
  import shutil
  import subprocess
  import sys
  from pathlib import Path
  import tomli
label_desc: Use image node_id 10 for calling a global function with example usage: run_clang_tidy_command(tidy_cmd) and returns: passed,  out