John Goerzen wrote: > When I hit Ctrl-C while the child process is running, sometimes: > > 1) rawSystem returns ExitSuccess > > or > > 2) rawSystem raises an IOError saying the child terminated with a > signal > > I am totally at a loss as to explain this difference in behavior. I > would prefer it to choose option #2 always.
Could process #1 have caught SIGINT while process #2 didn't? If so, GHC is not at fault, because wait() doesn't tell about caught signals. Udo. -- Lebensmittelskandal: Gene im Mais entdeckt! (angeblich eine Schlagzeile aus der BILD)
signature.asc
Description: Digital signature
_______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
