[commit: ghc] master: runghc: Fix import of System.Process on Windows (8952cc3)
git at git.haskell.org
git at git.haskell.org
Sun Oct 2 23:41:23 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8952cc3e8e36985b06166c23c482174b07ffa66d/ghc
>---------------------------------------------------------------
commit 8952cc3e8e36985b06166c23c482174b07ffa66d
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Sun Oct 2 19:40:56 2016 -0400
runghc: Fix import of System.Process on Windows
This apparently should have been an import of rawSystem instead of
runProcess. Oops.
Fixes D2538.
Test Plan: Validate on Linux and Windows.
Reviewers: austin, snowleopard
Reviewed By: snowleopard
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2561
>---------------------------------------------------------------
8952cc3e8e36985b06166c23c482174b07ffa66d
utils/runghc/Main.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/runghc/Main.hs b/utils/runghc/Main.hs
index bcf77e7..b5d4a4a 100644
--- a/utils/runghc/Main.hs
+++ b/utils/runghc/Main.hs
@@ -26,7 +26,7 @@ import System.FilePath
import System.IO
#if defined(mingw32_HOST_OS)
-import System.Process (runProcess)
+import System.Process (rawSystem)
import Foreign
import Foreign.C.String
#else
More information about the ghc-commits
mailing list