diff --git a/Sources/Subprocess/Platforms/Subprocess+Darwin.swift b/Sources/Subprocess/Platforms/Subprocess+Darwin.swift index cd04d640..99fe532d 100644 --- a/Sources/Subprocess/Platforms/Subprocess+Darwin.swift +++ b/Sources/Subprocess/Platforms/Subprocess+Darwin.swift @@ -433,7 +433,7 @@ extension Configuration { } // Spawn error if spawnError != 0 { - if spawnError == ENOENT { + if spawnError == ENOENT || spawnError == EACCES { // Move on to another possible path continue }