Yes, I am using werl.exe, but using erl.exe get the same result. by now, I do not do any i/o yet. All .exe run correctly, but only give me a epipe error after exit. So how can I fix this problem? Anyone do this under windows os?