Merge pull request #531 from Karlson2k/bat_files_02

.bat-files: exit only from .bat file instead of terminating parent command processor
This commit is contained in:
Alexpux
2016-04-04 20:40:42 +04:00
3 changed files with 9 additions and 9 deletions

View File

@@ -26,15 +26,15 @@ if "x%MSYSCON%" == "xconsole.exe" goto startconsolez
:startmintty
if NOT EXIST %WD%mintty.exe goto startsh
start %WD%mintty -i /msys2.ico /usr/bin/bash --login %*
exit
exit /b %ERRORLEVEL%
:startconsolez
cd %WD%..\lib\ConsoleZ
start console -t "MinGW" -r "%*"
exit
exit /b %ERRORLEVEL%
:startsh
start %WD%sh --login -i %*
exit
exit /b %ERRORLEVEL%
:EOF

View File

@@ -26,15 +26,15 @@ if "x%MSYSCON%" == "xconsole.exe" goto startconsolez
:startmintty
if NOT EXIST %WD%mintty.exe goto startsh
start %WD%mintty -i /msys2.ico /usr/bin/bash --login %*
exit
exit /b %ERRORLEVEL%
:startconsolez
cd %WD%..\lib\ConsoleZ
start console -t "MinGW" -r "%*"
exit
exit /b %ERRORLEVEL%
:startsh
start %WD%sh --login -i %*
exit
exit /b %ERRORLEVEL%
:EOF

View File

@@ -26,15 +26,15 @@ if "x%MSYSCON%" == "xconsole.exe" goto startconsolez
:startmintty
if NOT EXIST %WD%mintty.exe goto startsh
start %WD%mintty -i /msys2.ico /usr/bin/bash --login %*
exit
exit /b %ERRORLEVEL%
:startconsolez
cd %WD%..\lib\ConsoleZ
start console -t "MSys2" -r "%*"
exit
exit /b %ERRORLEVEL%
:startsh
start %WD%sh --login -i %*
exit
exit /b %ERRORLEVEL%
:EOF