code: def run_shell_cmd(args):
      """Executes shell commands and returns output.
  
      Args:
        args: String of shell commands to run.
  
      Returns:
        Tuple output (stdoutdata, stderrdata) from running the shell commands.
      """
      proc = subprocess.Popen(
          args,
          shell=True,
          stdout=subprocess.PIPE,
          stderr=subprocess.STDOUT,
      )
      return proc.communicate()
  
imports: import collections
  import json
  import re
  import subprocess
  import sys
  from absl import app
  from absl import flags
  from tensorflow.tools.tensorflow_builder.config_detector.data import cuda_compute_capability
label_desc: Use image node_id 1 for calling a global function with example usage: run_shell_cmd(args) and returns: proc