diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileSocket.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/CompileSocket.scala | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileSocket.scala b/src/compiler/scala/tools/nsc/CompileSocket.scala index a0c39f71fb..1e2a367176 100644 --- a/src/compiler/scala/tools/nsc/CompileSocket.scala +++ b/src/compiler/scala/tools/nsc/CompileSocket.scala @@ -95,12 +95,7 @@ class CompileSocket extends CompileOutputCommon { private def startNewServer(vmArgs: String) = { val cmd = serverCommand(vmArgs split " " toSeq) info("[Executing command: %s]" format cmd.mkString(" ")) - - // Hiding inadequate daemonized implementation from public API for now - Process(cmd) match { - case x: ProcessBuilder.AbstractBuilder => x.daemonized().run() - case x => x.run() - } + cmd.daemonized().run() } /** The port identification file */ |