Hi all,
Consider the following program:
module Test where
import System.Process (readProcess)
main :: IO ()
main = readProcess "git" ["describe", "--tags"] "" >>= putStr
> git --version
git version 1.7.10.msysgit.1
> ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.1
> runghc Test
Test: git: createProcess: does not exist (No such file or directory)
$ git --version
git version 1.7.9.5
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
$ runghc Test.hs
Package-2.0-68-gacaf77a