You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although changes to the variables are picked up when an app using that variable is restarted, if a variable is deleted, a restart of the computer is required.
The text was updated successfully, but these errors were encountered:
This happens on 10.10 and newer where a reimplementation of launchd breaks the unsetenv functionality. The corresponding API still exists in the reimplementation, and I assume attempts to emulate the legacy implementation; but evidently it is broken. Interestingly, launchctl unsetenv works because it isn't using the emulated legacy API but the new XPC-based API. To fix we need to reverse-engineer the new API—it is undocumented—and use it instead of relying on the emulation.
Although changes to the variables are picked up when an app using that variable is restarted, if a variable is deleted, a restart of the computer is required.
The text was updated successfully, but these errors were encountered: