From 19f744f8f86487e8bf5c6ac0af73dd2f00d4894c Mon Sep 17 00:00:00 2001 From: Alan Mason <1923621+2Shirt@users.noreply.github.com> Date: Wed, 22 Nov 2017 15:33:29 -0800 Subject: [PATCH] Avoid double pause in Launch.cmd If Launch.cmd aborted it would cause the launcher to abort as well. If the error was handled by Launch.cmd then we can assume the launcher ran correctly. --- .bin/Scripts/Launch.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/Scripts/Launch.cmd b/.bin/Scripts/Launch.cmd index 5e1eb4b1..41678881 100644 --- a/.bin/Scripts/Launch.cmd +++ b/.bin/Scripts/Launch.cmd @@ -500,9 +500,9 @@ echo. DEBUG: %DEBUG% echo. PYTHON: %PYTHON% echo Press any key to exit... pause>nul +rem reset color and reset errorlevel to 0 +rem NOTE: This is done to avoid causing a ErrorLaunchCMD in the launcher.cmd color -rem Set errorlevel to 1 by calling color incorrectly -color 00 goto Exit :: Cleanup and exit ::