mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Notify failure to create a process when the executable is not found even in PATH.
This commit is contained in:
parent
ac4e38226b
commit
a9faace8b4
@ -610,6 +610,9 @@ pub const ChildProcess = struct {
|
||||
} else {
|
||||
return err;
|
||||
}
|
||||
} else {
|
||||
// Every other error would have been returned earlier.
|
||||
return error.FileNotFound;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user