summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-07-04 19:54:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-07-04 19:54:46 -0400
commite5ee6508ddab17487e6b6aa7f4d3ac7665d8f40c (patch)
tree5ff79868f4c9ec2cfc831c9d3cd98dc08438c15e
parentc9a81fa841e3502f0426627de2d0eed439680b6d (diff)
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.
-rw-r--r--Utility.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility.hs b/Utility.hs
index 7831a4ab4..63fa6eda3 100644
--- a/Utility.hs
+++ b/Utility.hs
@@ -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