<br><div class="gmail_quote">On Mon, May 17, 2010 at 1:33 AM, Bulat Ziganshin <span dir="ltr"><<a href="mailto:bulat.ziganshin@gmail.com">bulat.ziganshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello David,<br>
<div class="im"><br>
Sunday, May 16, 2010, 7:18:29 PM, you wrote:<br>
<br>
> "executeFile" is failing for me on Mac OS X 10.5.8, with ghc 6.12.1<br>
> when compiling with "-threaded". Compiling without -threaded, or running on linux is fine. <br>
</div><div class="im">>> forkProcess $ executeFile "/bin/echo" False ["Ok"] Nothing<br>
<br>
</div>afair, forkProcess and -threaded shouldn't work together on any Unix.<br>
can you try forkIO or forkOS instead?<br>
<br></blockquote><div><br>Hi Bulat,<br><br>Both, forkIO and forkOS fail in the same way for me with -threaded. I believe this is because macosx requires the process to only have a single thread when doing an execv(), which I thought was the purpose of forkProcess?<br>
<br>Cheers,<br><br>-- David<br></div><div> </div></div>