code: def build_subprocess_cmd(csv_path, train_folder):
      """Builds the command used to call a subprocess for model training.
  
      Other parameters like split and num_epochs are not passed
      since they are the default in the generated code.
      """
  
      csv_path_join = os.path.join("..", csv_path)
  
      # Find the python executable
      if shutil.which("python3") is not None:
          pycmd = shutil.which("python3")
      elif shutil.which("python"):
          # fall back to regular python, which may be py3
          pycmd = shutil.which("python")
      else:
          # might be a better exception for this
          raise Exception(
              "error: unable to locate the python binary for the subprocess call"
          )
  
      return [
          pycmd,
          "model.py",
          "-d",
          csv_path_join,
          "-m",
          "train",
          "-c",
          "automl-gs",
      ]
  
imports: import re
  import pandas
  import random
  import yaml
  import os
  import shutil
  from time import time
  from pkg_resources import resource_filename
  from tqdm import tqdm, tqdm_notebook
  from tqdm._utils import _term_move_up
  from subprocess import Popen, PIPE, DEVNULL, CalledProcessError
  from autopep8 import fix_code
  from collections import OrderedDict
label_desc: Use image node_id 7 for calling a global function with example usage: build_subprocess_cmd(csv_path, train_folder) and returns: list