Commit 22beaf5afc

Jonathan Marler <johnnymarler@gmail.com>
2021-10-17 02:51:50
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.
1 parent 51be575
Changed files (1)
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();