Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
spawnProcess doesn't exist before 7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielG committed May 20, 2015
1 parent a2e4a5d commit f779a77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/GHCModi.hs
Expand Up @@ -15,5 +15,6 @@ main :: IO ()
main = do
args <- getArgs
bindir <- getBinDir
h <- spawnProcess (bindir </> "ghc-mod") $ ["legacy-interactive"] ++ args
(_, _, _, h) <-
createProcess $ proc (bindir </> "ghc-mod") $ ["legacy-interactive"] ++ args
exitWith =<< waitForProcess h

0 comments on commit f779a77

Please sign in to comment.