From 2b8ef650a5fa63a6c333d5fff83db6538fd48f74 Mon Sep 17 00:00:00 2001 From: "Pablo Fco. PĂ©rez Hidalgo" Date: Fri, 24 Mar 2017 09:16:23 +0100 Subject: `def run(log: ProcessLogger, connectInput: Boolean): Process` doesn't block until the spawned process exits neither does it return its exit code. --- src/library/scala/sys/process/ProcessBuilder.scala | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/library/scala/sys/process/ProcessBuilder.scala b/src/library/scala/sys/process/ProcessBuilder.scala index b7966b0341..d0745e5833 100644 --- a/src/library/scala/sys/process/ProcessBuilder.scala +++ b/src/library/scala/sys/process/ProcessBuilder.scala @@ -257,10 +257,9 @@ trait ProcessBuilder extends Source with Sink { */ def run(connectInput: Boolean): Process - /** Starts the process represented by this builder, blocks until it exits, and - * returns the exit code. Standard output and error are sent to the given - * ProcessLogger. The newly started process reads from standard input of the - * current process if `connectInput` is true. + /** Starts the process represented by this builder. Standard output and error + * are sent to the given ProcessLogger. The newly started process reads from + * standard input of the current process if `connectInput` is true. */ def run(log: ProcessLogger, connectInput: Boolean): Process -- cgit v1.2.3