| Safe Haskell | Safe-Inferred |
|---|
System.SetEnv
Documentation
setEnv :: String -> String -> IO ()Source
setEnv name value sets the specified environment variable to value.
If value is the empty string, the specified environment variable is
removed from the environment.
Throws IOException if name is the empty string or
contains an equals character.
unsetEnv :: String -> IO ()Source
unSet name removes the specified environment variable from the
environment of the current process.
Throws IOException if name is the empty string or
contains an equals character.