code: def run_shell_command(cmd):
      p = subprocess.Popen(
          cmd,
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
          shell=True,
      )
      out, err = p.communicate()
  
      if p.returncode == 0:
          return out.decode("utf-8")
      else:
          return None
  
file_path: PaddleSeg/test_tipc/compare_results.py
imports: import numpy
  import os
  import subprocess
  import json
  import argparse
  import glob
  from val import evaluate
label_desc: Use image node_id 3 for calling a global function with example usage: run_shell_command(cmd) and returns: out, None