Skip to content

Commit

Permalink
Pause when process exited with error
Browse files Browse the repository at this point in the history
  • Loading branch information
Karlatemp committed Jul 21, 2022
1 parent 46b3f79 commit 3a033ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mcl.cmd
@@ -1,3 +1,10 @@
@echo off
setlocal
set JAVA_BINARY=java
%JAVA_BINARY% -jar mcl.jar %*

set EL=%ERRORLEVEL%
if %EL% NEQ 0 (
echo Process exited with %EL%
pause
)

0 comments on commit 3a033ea

Please sign in to comment.