| ... | @@ -484,7 +484,7 @@ pub const ChildProcess = struct { | ... | @@ -484,7 +484,7 @@ pub const ChildProcess = struct { |
| 484 | const nul_handle = if (any_ignore) | 484 | const nul_handle = if (any_ignore) |
| 485 | windows.OpenFile(&[_]u16{ 'N', 'U', 'L' }, .{ | 485 | windows.OpenFile(&[_]u16{ 'N', 'U', 'L' }, .{ |
| 486 | .dir = std.fs.cwd().fd, | 486 | .dir = std.fs.cwd().fd, |
| 487 | .access_mask = windows.GENERIC_READ, | 487 | .access_mask = windows.GENERIC_READ | windows.SYNCHRONIZE, |
| 488 | .share_access = windows.FILE_SHARE_READ, | 488 | .share_access = windows.FILE_SHARE_READ, |
| 489 | .creation = windows.OPEN_EXISTING, | 489 | .creation = windows.OPEN_EXISTING, |
| 490 | .io_mode = .blocking, | 490 | .io_mode = .blocking, |