I am using rake to build my project and I have a build.bat file similar to this:
@echo off
cls
rake
When I double click on build.bat the dos window pops up and shows all the progress but closes itself when the task is finished. Is there way to do a Console.ReadLine so that user can get a chance to see the log?
Thanks.
Updated:
I've tried below but didn't work. not sure why.
@echo off
cls
rake
pause