Skip to content

Commit 20be88d

Browse files
committed
ProcessBuilder.lines(log) *does* throw an exception.
1 parent 38d5b20 commit 20be88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/sys/process/ProcessBuilder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ trait ProcessBuilder extends Source with Sink {
171171
* a Stream that blocks when lines are not available but the process has not
172172
* completed. Standard error is sent to the provided ProcessLogger. If the
173173
* process exits with a non-zero value, the Stream will provide all lines up
174-
* to termination but will not throw an exception.
174+
* to termination and then throw an exception.
175175
*/
176176
def lines(log: ProcessLogger): Stream[String]
177177

0 commit comments

Comments
 (0)