Sorry, I should clarify. I am writing about applications compiled with GHC.<br><br>-John<br><br><div><span class="gmail_quote">On 2/10/07, <b class="gmail_sendername">John Ky</b> <<a href="mailto:firstname.lastname@example.org">email@example.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I noticed on Windows that when I use IO functions that write to stdout when the process is lacking a console, those functions throw an IOError. I'm not sure if this also occurs for stderr because I haven't tried it.
<br><br>Some classes of processes are created without a console because they never interact with the user and include System services. Crashing with IOError in this case is difficult to diagnose because because the only symptom is the process crashes with no visible output.
<br><br>I believe the most sensible behaviour should be for those functions to not throw, but instead do nothing.<br><span class="sg"><br>-John<br><br>