use a more specific type for executeFile
Apparently the generic -> IO a type fails with some version of GHC. Possibly due to System.Posix.Process.executeFile having a more specific type.
This commit is contained in:
parent
c9a81fa841
commit
e5ee6508dd
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ boolSystemEnv command params env = do
|
|||
executeFile command True (toCommand params) env
|
||||
|
||||
{- executeFile with debug logging -}
|
||||
executeFile :: FilePath -> Bool -> [String] -> Maybe [(String, String)] -> IO a
|
||||
executeFile :: FilePath -> Bool -> [String] -> Maybe [(String, String)] -> IO ()
|
||||
executeFile c path p e = do
|
||||
debugM "Utility.executeFile" $
|
||||
"Running: " ++ c ++ " " ++ show p ++ " " ++ maybe "" show e
|
||||
|
|
Loading…
Reference in a new issue