zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 22beaf5afcfb4c9c29016f19f363a24f159b5b82 (tree)
parent 51be575745adfe21a5367f206c156f2d589ad436
Author: Jonathan Marler <johnnymarler@gmail.com>
Date:   Sat, 16 Oct 2021 18:51:50 -0600

actually fix child process deadlock on windows

Looks like I forgot to remove windows from this workaround condition when I finished implementing the child process output collection on windows.

Diffstat:
Mlib/std/child_process.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig @@ -354,7 +354,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 or builtin.os.tag == .haiku) { + if (builtin.os.tag == .haiku) { const stdout_in = child.stdout.?.reader(); const stderr_in = child.stderr.?.reader();