X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2FInteractiveUI.hs;h=e0498317dd17d0f9129c412e922d1d2511c6d9e7;hp=05f61d16ebd0b72284005586a1d262c292ad9210;hb=4aa564abca9eb7aa75b6b77bd19c0c1e8fd828a4;hpb=661c97c65e5fa47177502e592bb763f752b487ac diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 05f61d1..e049831 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -438,6 +438,8 @@ runGHCi paths maybe_exprs = do -- just evaluate the expression we were given enqueueCommands exprs let handle e = do st <- getGHCiState + -- flush the interpreter's stdout/stderr on exit (#3890) + flushInterpBuffers -- Jump through some hoops to get the -- current progname in the exception text: -- :