Patrick-Kladek / Callisto

Parse Clang Static Analyzer messages and pass them to Slack
MIT License
21 stars 3 forks source link

Use system PATH variable for internal subtask #18

Closed Patrick-Kladek closed 2 years ago

Patrick-Kladek commented 2 years ago

Description

macOS 13 removed /usr/local/bin folder. Callisto used this and others hardcoded as $PATH variable for its subtasks, which then failed. Use the parent Process $PATH variable to be future proof.

Tasks

Infos for Reviewer

Not all environment variables are set when launched from Xcode. To be as close to Terminal we have to set some Variables ourselves:

Bildschirmfoto 2022-06-20 um 16 46 40