[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] HOWTO redirect a i/o-port in Unix??



Hi MzScheme Experts,
my question is about MzScheme under Unix:
How can I redirect one scheme port into another in a way similar to dup2 
C-library call? 

More specifically, I am looking for a way to redirect stdout (and stderr) of a
subprocess created with (process "myprog") into a file.

thanks,
-- Leo

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Leonid Razoumov,               +  E-mail: lrazoumov@qualcomm.com   +
+  Qualcomm Inc.,                 +  http://www.qualcomm.com          +
+  5775 Morehouse Drive,          +                                   +
+  San Diego, CA 92121-1714,      +  VOICE:  +1-858/651-5163          +
+        USA                      +    FAX:  +1-858/658-2113          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++