Johannes Waldmann wrote:
Solved - exit_group() wasn't the problem.
My wrapper program silently died from SIGPIPE.
This is something we changed in GHC 6.10.1, incedentally. Now SIGPIPE
doesn't silently exit the program, and it will get an exception instead.
Cheers,
Simon
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
Solved - exit_group() wasn't the problem.
My wrapper program silently died from SIGPIPE.
Best regards, J.W.
signature.asc
Description: OpenPGP digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org