aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorxEgoist <egoist@egoistic.dev>2023-05-02 13:36:48 -0500
committerAndrew Kelley <andrew@ziglang.org>2024-01-16 01:25:14 -0800
commit41bf816fa6dd6fde0264db885c2f00757aba74b0 (patch)
tree5aaa7a0fa8e8849db31f4f2f065e5f6d06581ff3 /lib/std/array_list.zig
parent7116b02210bcae7bafac9017a7e47a14b52eafc2 (diff)
downloadzig-41bf816fa6dd6fde0264db885c2f00757aba74b0.tar.gz
zig-41bf816fa6dd6fde0264db885c2f00757aba74b0.zip
child_process: Add write access to the null handle
This commit allows write access to the `\\Device\\Null` Handle. Without a write access, it's not possible for the child process to write SdOut to Null. As a requirement `SetHandleInformation` was also changed to mark the handle as iheritable (by adding it to Flags) by the spawned process. This allows the child to access the NUL device that was opened. This also makes the Windows part to behave similarly to `spawnPosix`.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions