I agree this is a useful thing - closing the REPL before a user can read
the error  is frustrating.
However, the batch files have been removed in the current trunk because
they are no longer
needed.

I have added a note about this to the following issue:
https://github.com/JuliaLang/julia/issues/4812


On Sat, Feb 8, 2014 at 2:00 PM, Laszlo Hars <laszloh...@gmail.com> wrote:

> When I run Julia programs (*.jl files) via the supplied julia.bat, any
> error message pops up in a command window, which gets immediately closed,
> so there is no chance I can read it. An extra line in the batch file solves
> the program: if errorlevel 1 pause
>
> That is, the julia.bat could look like this (no need for the cleanup
> lines, they are performed implicitly in the end of the batch):
>
> pushd %cd%
> setlocal enableextensions enabledelayedexpansion
>
> call "%~dp0prepare-julia-env.bat" %*
> call "%JULIA_HOME%julia-readline.exe" %*
>
> if errorlevel 1 pause
>

Reply via email to