mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Typo: use the joined path to try executables available from PATH.
This commit is contained in:
1 parent
a9faace8b4
commit
6860db66fe
1 file changed
+1
-1
@@ -600,7 +600,7 @@ pub const ChildProcess = struct {
|
||||
const joined_path = try os.path.join(self.allocator, search_path, app_name);
|
||||
defer self.allocator.free(joined_path);
|
||||
|
||||
const joined_path_w = try unicode.utf8ToUtf16LeWithNull(self.allocator, app_name);
|
||||
const joined_path_w = try unicode.utf8ToUtf16LeWithNull(self.allocator, joined_path);
|
||||
defer self.allocator.free(joined_path_w);
|
||||
|
||||
if (windowsCreateProcess(joined_path_w.ptr, cmd_line_w.ptr, envp_ptr, cwd_w_ptr, &siStartInfo, &piProcInfo)) |_| {
|
||||
|
||||
Reference in new issue
Block a user