commit a9faace8b4c9b2bef9425c4cdb136ff8fec056b8 (tree) parent ac4e38226b45081dfb66f006bba38b11c121ad45 Author: Sahnvour <sahnvour@pm.me> Date: Tue, 5 Feb 2019 22:44:14 +0100 Notify failure to create a process when the executable is not found even in PATH. Diffstat:
| M | std/os/child_process.zig | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/std/os/child_process.zig b/std/os/child_process.zig @@ -610,6 +610,9 @@ pub const ChildProcess = struct { } else { return err; } + } else { + // Every other error would have been returned earlier. + return error.FileNotFound; } };