code: def run_command(cmdlist):
      cmd = " ".join(cmdlist)
      proc = subprocess.Popen(
          cmd,
          shell=True,
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
      )
      out, err = proc.communicate()
      if proc.returncode:
          raise RuntimeError(
              "Error(%d):\n%s\n%s" % (proc.returncode, cmd, err)
          )
      if debug:
          neon_logger.display(cmd)
          if out:
              neon_logger.display(out)
          if err:
              neon_logger.display(err)
  
file_path: neon/neon/backends/kernel_specs.py
imports: from builtins import str
  import re
  import os.path
  import subprocess
  import pycuda.driver
  from pycuda.tools import context_dependent_memoize
  from neon import logger
  from neon.util.persist import get_cache_dir
label_desc: Use image node_id 3 for calling a global function with example usage: run_command(cmdlist) without return types