Commit 0da9cdbb authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Semi-fix 4006 on msys

We were getting:
4006.exe: echo: createProcess: does not exist (No such file or directory)
so now we use "printf" instead of "echo".
parent f50237c0
import System.Process
testUnicode :: String -> IO String
testUnicode str = init `fmap` (readProcess "echo" [str] "")
testUnicode str = readProcess "printf" ["%s", str] ""
main = do
testUnicode "It works here" >>= putStrLn
......
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