From 7da6cfa0c792d879c9a30bc8530023981d6b9972 Mon Sep 17 00:00:00 2001 From: Christian SChubert Date: Sun, 30 Dec 2012 23:28:10 +0000 Subject: [PATCH] Compile.bat: exit /b exits only from batch file and does not close the cmd.exe when run on its own git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14595 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- Compiler/scripts/Compile.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/scripts/Compile.bat b/Compiler/scripts/Compile.bat index 6a65f3aaf9d..0cfaaa926cc 100755 --- a/Compiler/scripts/Compile.bat +++ b/Compiler/scripts/Compile.bat @@ -44,4 +44,4 @@ goto :Final set RESULT=%ERRORLEVEL% set PATH=%OLD_PATH% set OLD_PATH= -exit %RESULT% \ No newline at end of file +exit /b %RESULT% \ No newline at end of file