code: def run_console(bat_name):
      """Function for running .bat files with returning prediction as df"""
      try:
          os.remove(predictions_path)
      except Exception:
          pass
      change_python_path(bat_name, env_path_placeholder, env_name)
      process = Popen(
          bat_name, creationflags=subprocess.CREATE_NEW_CONSOLE
      )
      process.wait()
      change_python_path(bat_name, env_name, env_path_placeholder)
      print(f"\nPrediction saved at {predictions_path}")
      df = pd.read_csv(predictions_path)
      return df
  
file_path: FEDOT/examples/simple/cli_application/cli_call_example.py
imports: import os
  import sys
  from subprocess import Popen
  import subprocess
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: run_console(bat_name) and returns: df