On 2012-04-10, at 3:13 PM, REPLeffect wrote:
I had already been running my app with -:d-, but somehow missed -:d0 -- that almost gives me what I want (by suppressing the error messages). However, I have some messages in my app that are being sent to stdout, and even with -:d0, the console is still being shown by these. Of course, the AllocConsole call is the culprit.
Can you explain this a bit more. I don't understand why the output would go to the console if you write to stdout. Can you verify that this is the case? Note that the pp procedure defaults to writing to the REPL port.
Note that if you want to ignore all output sent to the current-output-port, you could simply do this:
(current-output-port (open-dummy))
Marc