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

This commit is contained in:
Sahnvour 2019-02-05 22:44:14 +01:00
parent ac4e38226b
commit a9faace8b4

View File

@ -610,6 +610,9 @@ pub const ChildProcess = struct {
} else {
return err;
}
} else {
// Every other error would have been returned earlier.
return error.FileNotFound;
}
};