<br><div class="gmail_quote">On Mon, May 17, 2010 at 1:33 AM, Bulat Ziganshin <span dir="ltr">&lt;<a href="mailto:bulat.ziganshin@gmail.com">bulat.ziganshin@gmail.com</a>&gt;</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>
&gt; &quot;executeFile&quot; is failing for me on Mac OS X 10.5.8, with ghc 6.12.1<br>
&gt; when compiling with &quot;-threaded&quot;.  Compiling without -threaded, or running on linux is fine. <br>
</div><div class="im">&gt;&gt;  forkProcess $ executeFile &quot;/bin/echo&quot; False [&quot;Ok&quot;] Nothing<br>
<br>
</div>afair, forkProcess and -threaded shouldn&#39;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>