Commit a9faace8b4

Sahnvour <sahnvour@pm.me>
2019-02-05 22:44:14
Notify failure to create a process when the executable is not found even in PATH.
1 parent ac4e382
Changed files (1)
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;
             }
         };