set jline.esc.timeout=0 to prevent it from creating a Thread

This commit is contained in:
Mark Harrah 2013-07-18 15:41:45 -04:00
parent fda6b33c8b
commit c127461ea1
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ object Boot
println("sbt launcher version " + Package.getPackage("xsbt.boot").getImplementationVersion)
case _ =>
System.clearProperty("scala.home") // avoid errors from mixing Scala versions in the same JVM
System.setProperty("jline.shutdownhook", "false")
System.setProperty("jline.shutdownhook", "false") // shutdown hooks cause class loader leaks
System.setProperty("jline.esc.timeout", "0") // starts up a thread otherwise
CheckProxy()
run(args)
}