summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Fco. Pérez Hidalgo <pfperez@stratio.com>2017-03-24 09:16:23 +0100
committerPablo Fco. Pérez Hidalgo <pfperez@stratio.com>2017-03-24 09:16:23 +0100
commit2b8ef650a5fa63a6c333d5fff83db6538fd48f74 (patch)
tree0971c7d551646996c538a29ea45060bfb47a5ccc /src
parent8513577ae6f65a578480f77dfa6ca65bcd7b2b77 (diff)
downloadscala-2b8ef650a5fa63a6c333d5fff83db6538fd48f74.tar.gz
scala-2b8ef650a5fa63a6c333d5fff83db6538fd48f74.tar.bz2
scala-2b8ef650a5fa63a6c333d5fff83db6538fd48f74.zip
`def run(log: ProcessLogger, connectInput: Boolean): Process` doesn't block until the spawned process exits neither
does it return its exit code.
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/sys/process/ProcessBuilder.scala7
1 files changed, 3 insertions, 4 deletions
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