mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
support output collection for haiku
This commit is contained in:
parent
7a78b92fa0
commit
914d57a1a6
@ -264,7 +264,7 @@ pub const ChildProcess = struct {
|
||||
|
||||
// TODO collect output in a deadlock-avoiding way on Windows.
|
||||
// https://github.com/ziglang/zig/issues/6343
|
||||
if (builtin.os.tag == .windows) {
|
||||
if (builtin.os.tag == .windows or builtin.os.tag == .haiku) {
|
||||
const stdout_in = child.stdout.?.reader();
|
||||
const stderr_in = child.stderr.?.reader();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user