| 12345678910111213141516 |
- @echo off
- rem Guanlan module run entry (P9 dual-mode). Module: app_qualityGate
- rem A) full package (start.bat present) -> start the whole system;
- rem B) standalone module package -> run this module's entry (bootstrap run).
- set "HERE=%~dp0"
- if exist "%HERE%..\start.bat" call "%HERE%..\start.bat" %*
- if exist "%HERE%..\start.bat" exit /b %errorlevel%
- set "PY="
- where py >nul 2>nul && set "PY=py -3"
- if not defined PY where python >nul 2>nul && set "PY=python"
- if not defined PY (
- echo [X] Python 3 not found. Install Python 3.10+ first, then re-run.
- exit /b 2
- )
- %PY% "%HERE%..\app_common\app_common_guanlan\bootstrap.py" run --module app_qualityGate %*
- exit /b %errorlevel%
|