writing to stdout in an windows app without a console

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Feb 16 07:01:06 EST 2005


On Wed, 2005-02-16 at 09:18 +0200, Krasimir Angelov wrote:
> Hi Duncan
> 
> With ghc-6.4 the output from Debug.Trace.trace will be redirected to
> the debug console when the application is compiled with --subsystem
> windows. You can see the trace messages with any Windows debuger. The
> error messages from any uncaught exception will be displayed in
> message box.

That's better since it will not appear to users that the program
suffered instant unexplained death if they get an exception.

What's your opinion of making writing to stdout fail without raising an
exception when the application is compiled with --subsystem
windows?

Duncan



More information about the Glasgow-haskell-users mailing list