System.Process.runInteractiveCommand, exit_group ()

Johannes Waldmann waldmann at
Mon Oct 6 10:13:04 EDT 2008

Dear all,

I have a Haskell program (compiled with -threaded)
that calls an external executable via System.Process.runInteractiveCommand
(and then I do waitForProcess).

The external program finishes with exit_group ()
(I don't have source, but I see it from strace).

Then, my Haskell program dies immediately.
Is exit_group () the reason? How can I prevent this?

Thanks - J.W.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url :

More information about the Glasgow-haskell-users mailing list