Process.environ
string[string] environ() @trustedGets environment variables for this process.
Returns
Associative array of environment variables.
Throws
NoSuchProcess if the process doesn't exist.
AccessDenied if access is denied.
Example:
auto proc = Process.current();
auto env = proc.environ();
writeln("PATH: ", env.get("PATH", ""));