&quot;executeFile&quot; is failing for me on Mac OS X 10.5.8, with ghc 6.12.1 when compiling with &quot;-threaded&quot;.  Compiling without -threaded, or running on linux is fine.  <br><br>When compiled with -threaded, the following snippet produces the error:<br>
  testProg: /bin/echo: executeFile: failed (Operation not supported)<br><br>&gt; import System.Posix.Process<br>&gt; main = do<br>&gt;  <br>&gt;  forkProcess $ executeFile &quot;/bin/echo&quot; False [&quot;Ok&quot;] Nothing<br>
<br>Any suggestions for a work around for this would be appreciated.<br><br>Cheers,<br><br clear="all">-- <br>David Powell<br>