drop extra, potentially problematic loadp in scripted handler

This commit is contained in:
Mark Harrah 2011-07-15 15:48:36 -04:00
parent eb11063ccb
commit 54b6d5db30
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ final class SbtHandler(directory: File, launcher: File, log: Logger, server: IPC
{
val launcherJar = launcher.getAbsolutePath
val globalBase = "-Dsbt.global.base=" + (new File(directory, "global")).getAbsolutePath
val args = "java" :: globalBase :: "-jar" :: launcherJar :: "loadp" :: ( "<" + server.port) :: Nil
val args = "java" :: globalBase :: "-jar" :: launcherJar :: ( "<" + server.port) :: Nil
val io = BasicIO(log, false).withInput(_.close())
val p = Process(args, directory) run( io )
Spawn { p.exitValue(); server.close() }