code: def _execute_command(command):
      try:
          print(command)
          result = subprocess.run(
              command, capture_output=True, check=True
          )
      except subprocess.CalledProcessError as e:
          print(e.stderr.decode("utf-8"))
          raise e
      return result.stdout.decode("utf-8"), result.stderr.decode(
          "utf-8"
      )
  
file_path: arrow-datafusion/conbench/_criterion.py
imports: import collections
  import csv
  import os
  import pathlib
  import subprocess
  import conbench.runner
  from conbench.machine_info import github_info
label_desc: Use image node_id 4 for calling a global function with example usage: _execute_command(command) and returns: result,  result