Joel VanderWerf wrote: > > Ideally, I'd like to get the results into a stream, so I can pull it in > > realtime as Ruby pushes it. But reading that temp file is an acceptable > > compromise. > What about something based on > > rb_eval_string("$stdout.reopen ..."); > > or > > rb_eval_string("$stdout = File.open(...)"); Thanks! Leave it to Ruby to rescue us from weird situations, huh? While I type that in, can we think of a way to, for example, publish a function from C to Ruby (I know how to do that part) which absorbs everything 'write()' sends to the file handle? That would provide the async read situation... -- Phlip http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces