code: def runcmd(cmd, shell=True):
      if shell:
          cmd = " ".join(cmd)
          _debug(cmd)
      else:
          _debug(" ".join(cmd))
  
      try:
          import subprocess
      except ImportError:  # Python 2.3 ...
          returncode = os.system(cmd)
      else:
          returncode = subprocess.call(cmd, shell=shell)
  
      if returncode:
          sys.exit(returncode)
  
file_path: catboost/contrib/tools/cython/Cython/Build/BuildExecutable.py
imports: from __future__ import absolute_import
  import sys
  import os
  from distutils import sysconfig
label_desc: Use image node_id 4 for calling a global function with example usage: runcmd(cmd, shell) without return types