Files
FAT_Template_Development/Edit_Characterization_Report.bat
2026-11-16 09:25:55 +01:00

16 lines
388 B
Batchfile

@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%