Errorcode 1 behoben, wenn install_and_run.bat ohne Args aufgerufen wird
This commit is contained in:
+5
-2
@@ -110,11 +110,14 @@ if not exist "%SCRIPT%" (
|
|||||||
exit /b 6
|
exit /b 6
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set "RUN_ARGS=%*"
|
||||||
|
if "%~1"=="" set "RUN_ARGS=-h"
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo [%APP_NAME%] Starte ...
|
echo [%APP_NAME%] Starte ...
|
||||||
echo Command: "%PY_CMD%" "%SCRIPT%" %*
|
echo Command: "%PY_CMD%" "%SCRIPT%" %RUN_ARGS%
|
||||||
echo.
|
echo.
|
||||||
"%PY_CMD%" "%SCRIPT%" %*
|
"%PY_CMD%" "%SCRIPT%" %RUN_ARGS%
|
||||||
set "RC=%ERRORLEVEL%"
|
set "RC=%ERRORLEVEL%"
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
|
|||||||
Reference in New Issue
Block a user