Macos Lsenvironment Path Pin

Declaring a Launch Services environment dictionary (`LSEnvironment`) in a packaged macOS app's property list pins the process `PATH` to the four bare system directories, so every external process the app spawns loses everything installed elsewhere. Use before adding any environment variable to a macOS app bundle, when a helper the app shells out to reports "command not found" only for installed users, or when a feature that works from a terminal launch silently does nothing from the Dock.

maxrave-dev Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/macos-lsenvironment-path-pin commit 1089570783

Frequently asked questions

npx skillmds@latest add maxrave-dev/macos-lsenvironment-path-pin