mmsyn3-0.1.2.2: A small library to deal with executable endings

Safe HaskellNone
LanguageHaskell2010

EndOfExe

Synopsis

Documentation

endOfExecutable :: String -> IO (Maybe String) Source #

Function that is used instead of os to check whether the executable ends in .exe. The function returns IO Nothing if there is neither ys nor (ys ++ ".exe") names for executables in the variable PATH

showE :: String -> Maybe String Source #

Function to get the proper name of the executable in the system (it must be seen in the directories in the PATH variable). You can use showE "nameOfExecutable" to get Just "nameOfExecutable" if it is present on the system. Further you can adopt it to be used inside the callCommand as the name of the executable