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 Control.Exception.IOException
if name
is the empty string or
contains an equals character.