Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Some execution functions lookup files incorrectly #2489
For the failure to occur on build, the package needs git dependencies, for instance:
I noticed this by chance while debugging #2241. I can't remove Git from OS X 10.11, but I tried shadowing it with a failing one and made a mistake.
The bug is thankfully not in the
import System.IO import System.Process args = ["--version"] main = do (_, _, _, ph) <- createProcess (proc "git" args) ec <- waitForProcess ph hPutStrLn stderr "First git done" ph <- runProcess "git" args Nothing Nothing Nothing Nothing Nothing ec <- waitForProcess ph return ()