diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-11-22 13:12:22 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-11-22 15:24:57 -0700 |
| commit | e357550610aef476390ed7191eeaf7597a8e9d53 (patch) | |
| tree | 73b53ef2bd5cfb0fc185fc15d6ddcedd65e83eae /lib/std/child_process.zig | |
| parent | 519ba9bb654a4d5caf7440160f018b7a3ae1e95a (diff) | |
| download | zig-e357550610aef476390ed7191eeaf7597a8e9d53.tar.gz zig-e357550610aef476390ed7191eeaf7597a8e9d53.zip | |
update for the std.fs.Dir changes
Diffstat (limited to 'lib/std/child_process.zig')
| -rw-r--r-- | lib/std/child_process.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig index 1d79302860..79b1549d99 100644 --- a/lib/std/child_process.zig +++ b/lib/std/child_process.zig @@ -976,7 +976,8 @@ fn windowsCreateProcessPathExt( defer dir_buf.shrinkRetainingCapacity(dir_path_len); const dir_path_z = dir_buf.items[0 .. dir_buf.items.len - 1 :0]; const prefixed_path = try windows.wToPrefixedFileW(null, dir_path_z); - break :dir fs.cwd().openDirW(prefixed_path.span().ptr, .{}, true) catch return error.FileNotFound; + break :dir fs.cwd().openDirW(prefixed_path.span().ptr, .{ .iterate = true }) catch + return error.FileNotFound; }; defer dir.close(); |
