enrich_current_process_path

Function enrich_current_process_path 

Source
pub fn enrich_current_process_path() -> PathSource
Expand description

Enrich the current process’ PATH in place, but only when it looks like the stripped launchd default. Idempotent and cheap when the PATH is already healthy (no shell spawn). Returns the source used. Intended for the srv’s direct-launch fallback; the host enriches the srv’s PATH unconditionally when it spawns it (it knows it is the GUI entry point).