summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-10-02 19:40:56 -0400
committerBen Gamari <ben@smart-cactus.org>2016-10-02 19:41:05 -0400
commit8952cc3e8e36985b06166c23c482174b07ffa66d (patch)
tree91df45ddec2cde815abd123899fb297399c6ef43
parent22c6b7f2e5265461128e3a19a01d07341fb29498 (diff)
downloadhaskell-8952cc3e8e36985b06166c23c482174b07ffa66d.tar.gz
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
-rw-r--r--utils/runghc/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/runghc/Main.hs b/utils/runghc/Main.hs
index bcf77e7b8a..b5d4a4a9ca 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