[−][src]Crate globalenv
Globally set or unset environment variables (and not just for the current process). Support for Windows, zsh and bash (MacOS and most Linux distros). Example:
use globalenv::{set_var, unset_var}; set_var("ENVTEST", "TESTVALUE").unwrap(); unset_var("ENVTEST").unwrap();
Enums
EnvError |
Functions
set_var | Sets a global environment variable, usable also in current process without reload. |
unset_var | Unsets both global and local (process) environment variable. |