setenv-0.1.0: A cross-platform library for setting environment variables
System.SetEnv
Synopsis
setEnv :: String -> String -> IO ()Source
setEnv name value sets the specified environment variable to value.
setEnv name value
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.
IOException
name
unsetEnv :: String -> IO ()Source
unSet name removes the specified environment variable from the environment of the current process.
unSet name