| ... | @@ -210,13 +210,7 @@ pub const ChildProcess = struct { | ... | @@ -210,13 +210,7 @@ pub const ChildProcess = struct { |
| 210 | ) !void { | 210 | ) !void { |
| 211 | debug.assert(child.stdout_behavior == .Pipe); | 211 | debug.assert(child.stdout_behavior == .Pipe); |
| 212 | debug.assert(child.stderr_behavior == .Pipe); | 212 | debug.assert(child.stderr_behavior == .Pipe); |
| 213 | if (builtin.os.tag == .haiku) { | 213 | if (builtin.os.tag == .windows) { |
| 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) { | | |
| 220 | try collectOutputWindows(child, stdout, stderr, max_output_bytes); | 214 | try collectOutputWindows(child, stdout, stderr, max_output_bytes); |
| 221 | } else { | 215 | } else { |
| 222 | try collectOutputPosix(child, stdout, stderr, max_output_bytes); | 216 | try collectOutputPosix(child, stdout, stderr, max_output_bytes); |