@echo off setlocal EnableExtensions pushd "%~dp0" || exit /b 1 where uv >nul 2>&1 if errorlevel 1 ( echo ERROR: uv was not found on PATH. popd exit /b 1 ) set "UV_CACHE_DIR=%CD%\Report\python_script\uv-cache" set "PYTHONDONTWRITEBYTECODE=1" uv run --script "Report\python_script\report_editor.py" set "EDITOR_EXIT_CODE=%ERRORLEVEL%" popd endlocal & exit /b %EDITOR_EXIT_CODE%