code: def cmd_run(*args, log_filename=None, error_filename=None):
      if len(args) == 1:
          args = args[0].split(" ")
      print(f'$ {" ".join(args)}')
      if not log_filename and not error_filename:
          check_call(args, env=env)
      else:
          check_call(
              args,
              env=env,
              stdout=open(log_filename, "w"),
              stderr=open(error_filename, "w"),
          )
  
file_path: ipyparallel/benchmarks/asv_runner.py
imports: import atexit
  import os
  import resource
  import socket
  import sys
  from subprocess import check_call
  import googleapiclient.discovery
  from cluster_start import start_cluster
  from google.cloud import storage
label_desc: Use image node_id 1 for calling a global function with example usage: cmd_run() without return types