4.37. SystemExts

The SystemExts module contains functionality that goes beyond what the Haskell 98 module System provides. That is, functionality that provides access to the underlying OS' facilities in an OS-indepedent manner.

Notice that SystemExts shares the goal of System. That is, it aims to provide functionality that's supported by all platforms. So, if you're looking to do serious system programming for a particular (family) of platforms, you really want to check out the libraries provided for the platform in question as well. e.g., The Posix library for POSIX.1-conforming platforms, the Win32 library for Win32 platforms.

SystemExts exports the following:

rawSystem     :: String -> IO ExitCode
withArgs      :: [String] -> IO a -> IO a
withProgName  :: String -> IO a -> IO a

Notes: