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