
Thanks for that. I checked forkProcess - which is packed in POSIX module.
I'm building under windows. Do I need to go via cygwin, is there some other
way for creating new OS process?
m.
On Mon, Sep 23, 2013 at 1:46 PM, Niklas Hambüchen
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.