fix run.cmd script (#1633)

Restore ability to run run.cmd from directories other than the runner root, and fix it exiting the cmd that's running it.  Fixes #1632
This commit is contained in:
jeremyd2019
2022-02-02 03:09:13 -08:00
committed by GitHub
parent f2347b7a59
commit 192ebfeccf

View File

@@ -19,7 +19,7 @@ rem Run.
rem ********************************************************************************
:launch_helper
copy run-helper.cmd.template run-helper.cmd /Y
copy "%~dp0run-helper.cmd.template" "%~dp0run-helper.cmd" /Y
call "%~dp0run-helper.cmd" %*
if %ERRORLEVEL% EQU 1 (
@@ -27,5 +27,5 @@ if %ERRORLEVEL% EQU 1 (
goto :launch_helper
) else (
echo "Exiting runner..."
exit 0
exit /b 0
)