mirror of
https://github.com/HorlogeSkynet/archey4
synced 2025-03-12 04:00:13 +01:00
It appears "broken" `PATH` environment variable (e.g. ending with a file instead of a directory) may lead to `NotADirectoryError` Python exception. Let's get bulletproof by extending most of subprocess calls expected exceptions to parent `OSError` (or at least by actually catching `NotADirectoryError` explicitly). > closes #164 Co-Authored-By: Michael Bromilow <developer@bromilow.uk>