authorgravatar for 3811822-hoanga@users.noreply.gitlab.comAl Hoang <3811822-hoanga@users.noreply.gitlab.com> 2021-04-23 23:39:13-05:00
committergravatar for 3811822-hoanga@users.noreply.gitlab.comAl Hoang <3811822-hoanga@users.noreply.gitlab.com> 2021-04-23 23:39:13-05:00
log914d57a1a64dd08983aeaa3e1eeb286043211b58
tree32229b3c5f0d250caa4b4a12c099384c873330d1
parent7a78b92fa0283501664a6f25bc68471dea04fab5

support output collection for haiku


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/child_process.zig+1-1
......@@ -264,7 +264,7 @@ pub const ChildProcess = struct {
264264
265265 // TODO collect output in a deadlock-avoiding way on Windows.
266266 // https://github.com/ziglang/zig/issues/6343
267 if (builtin.os.tag == .windows) {
267 if (builtin.os.tag == .windows or builtin.os.tag == .haiku) {
268268 const stdout_in = child.stdout.?.reader();
269269 const stderr_in = child.stderr.?.reader();
270270