Commit 337196e8 authored by simonmar's avatar simonmar

[project @ 2005-04-19 12:50:52 by simonmar]

Pass -ignore-dot-ghci to GHC
parent 3321ef43
......@@ -45,7 +45,8 @@ main = do
dieProg "syntax: runghc [-f GHCPATH] FILE ARG..."
doIt ghc filename args = do
res <- rawSystem ghc ["-e","System.Environment.withProgName "++show filename++" (System.Environment.withArgs ["
res <- rawSystem ghc ["-ignore-dot-ghci",
"-e","System.Environment.withProgName "++show filename++" (System.Environment.withArgs ["
++ concat (intersperse "," (map show args))
++ "] Main.main)", filename]
exitWith res
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment