code: def _run_commands(commands, **ludwig_kwargs):
      for arg_name, value in ludwig_kwargs.items():
          commands += ["--" + arg_name, value]
      cmdline = " ".join(commands)
      print(cmdline)
      completed_process = subprocess.run(
          cmdline,
          shell=True,
          stdout=subprocess.PIPE,
          env=os.environ.copy(),
      )
      assert completed_process.returncode == 0
  
      return completed_process
  
imports: import json
  import os
  import os.path
  import pathlib
  import shutil
  import subprocess
  from typing import List, Set
  import pytest
  import yaml
  from ludwig.constants import BATCH_SIZE, COMBINER, EVAL_BATCH_SIZE, INPUT_FEATURES, NAME, OUTPUT_FEATURES, PREPROCESSING, TRAINER
  from ludwig.types import FeatureConfigDict
  from ludwig.utils.data_utils import load_yaml
  from tests.integration_tests.utils import category_feature, generate_data, number_feature, sequence_feature
label_desc: Use image node_id 1 for calling a global function with example usage: _run_commands(commands) and returns: completed_process