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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user