code: def main():
      subdirectory, subprocess_args = parse_args()
  
      fixed_args = [
          fix_arg(subdirectory, arg) for arg in subprocess_args
      ]
      try:
          subprocess.run(fixed_args, cwd=subdirectory, check=True)
      except subprocess.CalledProcessError as ex:
          sys.exit(ex.returncode)
  
file_path: streamlit/scripts/run_in_subdirectory.py
imports: import subprocess
  import sys
  import textwrap
  from pathlib import Path
  from typing import List, Tuple
label_desc: Use image node_id 5 for calling a global function with example usage: main() without return types