[plt-scheme] Redirect standard output from ffi C dll to DrScheme Interactions window
On Feb 22, Rodrigo Correia wrote:
> i'm currently working with C via ffi in DrScheme. When i use the
> console (with a generated executable) or MzScheme, the output from
> the C code is showed but not when i'm working within DrScheme
> environment.
>
> My question is, how can i redirect the C standard output to DrScheme
> interactions window?
You can't. If you really want to get close, you could fire up
mzscheme as a subprocess, which would capture it's IO as usual.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!