How can I inspect the environment variables of a running process? Is there some equivalent (CLI or GUI) to Linux's /proc/$PID/environ feature?
You can inspect environmental variables of running process with

ps eww &lt;PID&gt;