Safe Haskell | Safe |
---|---|
Language | Haskell98 |
System.Environment.SetEnv
Documentation
setEnv :: String -> String -> IO () Source #
The setEnv
function inserts or resets the environment variable name in
the current environment list. If the variable name
does not exist in the
list, it is inserted with the given value. If the variable does exist,
the argument overwrite
is tested; if overwrite
is False
, the variable is
not reset, otherwise it is reset to the given value.