You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala.bat does not double quote the %COMSPEC% path variable when setting the exit code (last line of the script):
@@%COMSPEC%/C exit %errorlevel%>nul
Instead of:
@@"%COMSPEC%"/C exit %errorlevel%>nul
This is usually ok because cmd.exe is in system32 by default (that path has no space in it), but it can be elsewhere in some configs and it creates a useless error message when the user is closing the REPL, like 'Unknown command "C:\Program"'
scala.bat does not double quote the %COMSPEC% path variable when setting the exit code (last line of the script):
Instead of:
This is usually ok because cmd.exe is in system32 by default (that path has no space in it), but it can be elsewhere in some configs and it creates a useless error message when the user is closing the REPL, like
'Unknown command "C:\Program"'
Related scala-user discussion: https://groups.google.com/d/topic/scala-user/FBgClRSJ2qc/discussion
The text was updated successfully, but these errors were encountered: