Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

& in PATH leads to accidental invocation #128

Closed
eed3si9n opened this issue Nov 10, 2016 · 2 comments
Closed

& in PATH leads to accidental invocation #128

eed3si9n opened this issue Nov 10, 2016 · 2 comments
Labels

Comments

@eed3si9n
Copy link
Member

steps

  1. PATH contains &
  2. run sbt on Windows

problem

accidental invocation of "MySQL".

notes

PATH=%JAVA_HOME%\bin;%PATH%

is not quoted in #111. /ht @dwijnand

@eed3si9n eed3si9n added the Bug label Nov 10, 2016
@dwijnand
Copy link
Member

From http://ss64.com/nt/set.html to solution seems to be:

-IF DEFINED JAVA_HOME SET PATH=%JAVA_HOME%\bin;%PATH%
+IF DEFINED JAVA_HOME SET "PATH=%JAVA_HOME%\bin;%PATH%"

@fommil
Copy link
Contributor

fommil commented Nov 10, 2016

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants