[gambit-list] Gambit on Windows with no console window

Marc Feeley feeley at iro.umontreal.ca
Tue Apr 10 18:37:18 EDT 2012


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




More information about the Gambit-list mailing list