[commit: ghc] ghc-8.0: runghc: Fix import of System.Process on Windows (9cc5a8f)

git at git.haskell.org git at git.haskell.org
Mon Oct 10 15:00:16 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/9cc5a8f49b47221f258ab360716a6a51f1bf38d1/ghc

>---------------------------------------------------------------

commit 9cc5a8f49b47221f258ab360716a6a51f1bf38d1
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
    
    (cherry picked from commit 8952cc3e8e36985b06166c23c482174b07ffa66d)


>---------------------------------------------------------------

9cc5a8f49b47221f258ab360716a6a51f1bf38d1
 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