Because C side output port is not controlled by (current-output-port) and (current-error-port) directly, C code always use the default ones. In theory, one can write a simple wrapper to deal with (current-output-port).
On Tue, Nov 10, 2015 at 1:45 PM, Ty Coghlan <coghlan...@gmail.com> wrote: > It works correctly if I run it from the command line using the racket > command, thanks! It also works if I raco exe it. > > Whether or not to add lib to the name of the file seems to be operating > system specific, or so I understand it. Windows seems to prefer leaving it > as "embed". Any idea why DrRacket seems to redirect the output? > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.