[racket] Duplicating output from a system call

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Thu May 16 16:22:50 EDT 2013

I would probably use "process*" or "process*/ports", together with 
"sync".  Then I could read the output from the process, do any handling 
(like immediately detect problems), and also write the output to 
"current-output-port" or to the logger.

Also, instead of writing to "current-output-port", you might want to use 
Rackonsole ("http://www.neilvandyke.org/rackonsole/").

Neil V.

Posted on the users mailing list.