I\'m trying to figure out how to use the output stream of one program I start with RUN-PROGRAM
so it can be used as the input of another program started with
Try adding :wait nil
to your arguments to run-program
. That should have both your grep and your ls running in the background. As is, you're starting the grep process, waiting for that to finish, then starting the ls you're intending to feed into the grep process. Alas, since you're waiting for the grep to finish, you never get that far.