Notifies the current platform that environment variables have changed.
EnvUpdate()
Broadcasts the operating system's environment-change notification. Applications which receive the notification decide whether and how to refresh their environments.
Publishes changes made by EnvSet since the last successful call to the D-Bus activation environment and the systemd user manager. This affects subsequently activated user services, not processes which are already running. A deleted variable is set to an empty value in the D-Bus activation environment and removed from the systemd user-manager environment.
The update lasts only for the current login session and does not modify shell startup files or other persistent configuration. A session-manager command which runs but reports an error throws an OSError; one which is not installed is skipped.
Publishes changes made by EnvSet since the last successful call to the current launchd session. This affects subsequently launched processes in that session, not applications which are already running. The update is not persistent and failure to update launchd throws an OSError.