Safe Haskell | Safe-Inferred |
---|
- module System.Environment
- getExecutablePath :: IO FilePath
- lookupEnv :: String -> IO (Maybe String)
Documentation
module System.Environment
getExecutablePath :: IO FilePath
Returns the absolute pathname of the current executable.
Note that for scripts and interactive sessions, this is the path to the interpreter (e.g. ghci.)