<div dir="ltr">Thanks for that. I checked forkProcess - which is packed in POSIX module. I&#39;m building under windows. Do I need to go via cygwin, is there some other way for creating new OS process?<div><br></div><div>m.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 1:46 PM, Niklas Hambüchen <span dir="ltr">&lt;<a href="mailto:mail@nh2.me" target="_blank">mail@nh2.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br>
<br>
I don&#39;t think any of your code actually forks of an *OS process*.<br>
<br>
There three main kinds of threading constructs:<br>
<br>
* Haskell threads (forkIO)<br>
* Operating System threads (forkOS)<br>
* Operating System processes (forkProcess, fork() in C)<br>
<br>
Async uses the first one, you will need last one (which is similar to<br>
effectively start two Haskell programs).<br>
<br>
On 23/09/13 20:41, Miro Karpis wrote:<br>
&gt; Hi Niklas,<br>
&gt; I think that I&#39;m doing this in my try2 function with tryAny and catchAny<br>
&gt; functions. Unfortunately that didn&#39;t work. I&#39;m just starting with<br>
&gt; Haskell so maybe also my implementation of my haskell code is not 100%<br>
&gt; correct.<br>
</blockquote></div><br></div>