authorgravatar for sahnvour@pm.meSahnvour <sahnvour@pm.me> 2019-02-05 22:44:14+01:00
committergravatar for sahnvour@pm.meSahnvour <sahnvour@pm.me> 2019-02-05 23:12:54+01:00
loga9faace8b4c9b2bef9425c4cdb136ff8fec056b8
tree41827c291f6336b1bfb0da5940a883522e2676e7
parentac4e38226b45081dfb66f006bba38b11c121ad45

Notify failure to create a process when the executable is not found even in PATH.


1 files changed, 3 insertions(+), 0 deletions(-)

std/os/child_process.zig+3
......@@ -610,6 +610,9 @@ pub const ChildProcess = struct {
610610 } else {
611611 return err;
612612 }
613 } else {
614 // Every other error would have been returned earlier.
615 return error.FileNotFound;
613616 }
614617 };
615618