[plt-scheme] getting console information using system

From: Rohan Nicholls (rohan.nicholls at informaat.nl)
Date: Mon Nov 18 09:58:33 EST 2002

Hey there all,

I have a question about the (system ...) function.

I am interested in getting the information that is returned from the 
system call, is there a way to do this?


(system "ls -a ${pwd}"), and what I am interested in using is the output 
that ls sends to console.

I have been sending the output to a temp file and then reading that in 
but is there a more elegant way to do this, such as capturing the output 



Posted on the users mailing list.