Re: Is stderr flushed automatically after exceptions are printed

2012-06-13 Thread Simon Marlow
On 13/06/2012 03:35, Johan Tibell wrote: Hi, If a program throws an exception that will cause it to be terminated (i.e. the exception isn't caught), will the code that prints out the error message to stderr make sure to flush stderr before terminating the process? Yes: https://github.com/ghc/

Is stderr flushed automatically after exceptions are printed

2012-06-12 Thread Johan Tibell
Hi, If a program throws an exception that will cause it to be terminated (i.e. the exception isn't caught), will the code that prints out the error message to stderr make sure to flush stderr before terminating the process? -- Johan ___ Glasgow-haskell