File tree 1 file changed +4
-2
lines changed
examples/client/src/examples/client
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,12 @@ object ChildProcess {
36
36
writeOutputStreamFlushingChunks[F ](Sync [F ].interruptible(p.getOutputStream()))
37
37
38
38
def stdout : fs2.Stream [F , Byte ] = fs2.io
39
- .readInputStream[F ](Sync [F ].interruptible(p.getInputStream()), chunkSize = readBufferSize).translate(onGlobal)
39
+ .readInputStream[F ](Sync [F ].interruptible(p.getInputStream()), chunkSize = readBufferSize)
40
+ .translate(onGlobal)
40
41
41
42
def stderr : fs2.Stream [F , Byte ] = fs2.io
42
- .readInputStream[F ](Sync [F ].blocking(p.getErrorStream()), chunkSize = readBufferSize).translate(onGlobal)
43
+ .readInputStream[F ](Sync [F ].blocking(p.getErrorStream()), chunkSize = readBufferSize)
44
+ .translate(onGlobal)
43
45
// Avoids broken pipe - we cut off when the program ends.
44
46
// Users can decide what to do with the error logs using the exitCode value
45
47
.interruptWhen(done.void.attempt)
You can’t perform that action at this time.
0 commit comments