which-0.2.0.2: Determine the full path to an executable.

Safe HaskellNone
LanguageHaskell2010

System.Which

Synopsis

Documentation

which :: FilePath -> IO (Maybe FilePath) Source #

Determine which executable would run if the given path were executed, or return Nothing if a suitable executable cannot be found

staticWhich :: FilePath -> Q Exp Source #

Run which at compile time, and substitute the full path to the executable.