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.
This commit is contained in:
Jonathan Marler 2021-10-16 18:51:50 -06:00 committed by Andrew Kelley
parent 51be575745
commit 22beaf5afc

View File

@ -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();