[plt-scheme] Redirect standard output from ffi C dll to DrScheme Interactions window

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Feb 22 15:05:26 EST 2010

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!


Posted on the users mailing list.