diff options
author | Rike-Benjamin Schuppner <rikebs@debilski.de> | 2013-08-20 19:46:43 +0200 |
---|---|---|
committer | Rike-Benjamin Schuppner <rikebs@debilski.de> | 2013-08-20 19:46:43 +0200 |
commit | 20be88dfbcd09541f48f0800636f487dece4eeaa (patch) | |
tree | 0801b318332afedff822f9c937b13736808065ed /src | |
parent | 38d5b203745e799d819759ccce2f96655085f537 (diff) | |
download | scala-20be88dfbcd09541f48f0800636f487dece4eeaa.tar.gz scala-20be88dfbcd09541f48f0800636f487dece4eeaa.tar.bz2 scala-20be88dfbcd09541f48f0800636f487dece4eeaa.zip |
ProcessBuilder.lines(log) *does* throw an exception.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/sys/process/ProcessBuilder.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/sys/process/ProcessBuilder.scala b/src/library/scala/sys/process/ProcessBuilder.scala index adf5a4f6b2..a144d51609 100644 --- a/src/library/scala/sys/process/ProcessBuilder.scala +++ b/src/library/scala/sys/process/ProcessBuilder.scala @@ -171,7 +171,7 @@ trait ProcessBuilder extends Source with Sink { * a Stream that blocks when lines are not available but the process has not * completed. Standard error is sent to the provided ProcessLogger. If the * process exits with a non-zero value, the Stream will provide all lines up - * to termination but will not throw an exception. + * to termination and then throw an exception. */ def lines(log: ProcessLogger): Stream[String] |