Set jna.nosys=true in RunSourceFromMain

Without this, I saw errors on windows.
This commit is contained in:
Ethan Atkins 2020-01-17 17:16:34 -08:00
parent 15d3ed1298
commit c47db91bdc
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ object RunFromSourceMain {
s"Must specify working directory, scala version and sbt version and classpath as the first three arguments"
)
case Array(wd, scalaVersion, sbtVersion, classpath, args @ _*) =>
System.setProperty("jna.nosys", "true")
run(file(wd), scalaVersion, sbtVersion, classpath, args)
}