Hey, I don't think any of your code actually forks of an *OS process*.
There three main kinds of threading constructs: * Haskell threads (forkIO) * Operating System threads (forkOS) * Operating System processes (forkProcess, fork() in C) Async uses the first one, you will need last one (which is similar to effectively start two Haskell programs). On 23/09/13 20:41, Miro Karpis wrote: > Hi Niklas, > I think that I'm doing this in my try2 function with tryAny and catchAny > functions. Unfortunately that didn't work. I'm just starting with > Haskell so maybe also my implementation of my haskell code is not 100% > correct. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe