Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- endOfExecutable :: String -> IO (Maybe String)
- showE :: String -> Maybe String
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 that is used to concat the endOfExecutable
to the name of the program. You can use showE "nameOfExecutable" e. g. inside the callCommand
as the name of the executable