From ce4576743a98f225ed9e036ddc8d1eb02ced6dfa Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 21 Apr 2014 22:21:50 -0400 Subject: signature for systemEnv --- ProcessUtils.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/ProcessUtils.hs b/ProcessUtils.hs index 7f7928c..4e3ac38 100644 --- a/ProcessUtils.hs +++ b/ProcessUtils.hs @@ -16,6 +16,7 @@ import System.Exit ( ExitCode(..) ) -- | systemEnv -- This is like System.Process.system except that it lets you set -- some environment variables. +systemEnv :: [(String, String)] -> String -> IO ExitCode systemEnv _ "" = ioException (ioeSetErrorString (mkIOError InvalidArgument "system" Nothing Nothing) "null command") systemEnv vars cmd = do -- cgit v1.2.3