| ... | ... | @@ -210,13 +210,7 @@ pub const ChildProcess = struct { |
| 210 | 210 | ) !void { |
| 211 | 211 | debug.assert(child.stdout_behavior == .Pipe); |
| 212 | 212 | debug.assert(child.stderr_behavior == .Pipe); |
| 213 | | if (builtin.os.tag == .haiku) { |
| 214 | | const stdout_in = child.stdout.?.reader(); |
| 215 | | const stderr_in = child.stderr.?.reader(); |
| 216 | | |
| 217 | | try stdout_in.readAllArrayList(stdout, max_output_bytes); |
| 218 | | try stderr_in.readAllArrayList(stderr, max_output_bytes); |
| 219 | | } else if (builtin.os.tag == .windows) { |
| 213 | if (builtin.os.tag == .windows) { |
| 220 | 214 | try collectOutputWindows(child, stdout, stderr, max_output_bytes); |
| 221 | 215 | } else { |
| 222 | 216 | try collectOutputPosix(child, stdout, stderr, max_output_bytes); |