code: def run_command(args, shell=False):
      try:
          logging.info("Issuing command: {}".format(args))
          res = (
              subprocess.check_output(args, shell=shell, timeout=1800)
              .decode("utf-8")
              .replace("\r\n", "")
          )
          logging.info("Output: {}".format(res))
      except subprocess.CalledProcessError as e:
          raise RuntimeError(
              "command '{}' return with error (code {}): {}".format(
                  e.cmd, e.returncode, e.output
              )
          )
      return res
  
file_path: mxnet/ci/util.py
imports: import contextlib
  import logging
  import logging.config
  import os
  import subprocess
  import sys
  import requests
label_desc: Use image node_id 10 for calling a global function with example usage: run_command(args, shell) and returns: res