I have this .bat script which I use to maven package my application. Problem is, just after it ends execution, it closes the console window. The last 2 lines somehow are completely ignored.
Does anyone know the trick to make this work? I just want to have a quick check if the build was successful.
@echo off cls cd C:\svn\project mvn package -o -P local sleep 3 pause
You could try to write