[plt-scheme] subprocess and wait

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Feb 26 10:27:03 EST 2006

On Feb 26, Paulo J. Matos wrote:
> On 26/02/06, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> >
> > I forgot how the layers go.
> >
> > Maybe `process' from `(lib "process.ss")' will be easier to use,
> > since it handles arbitrary ports.
> 
> Ah, great! :D Done!

A side-comment: running a subprocess that generates lots of
outputs and collecting all that text in the scheme process might not
be a good idea since you're making that other process compete with
scheme for memory.  My guess is that switching things so you process
the subprocess output in a thread is going to be just a little bit
more complex.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.