Piping to/from external program
Hi, I have binary data in a vector, and I want to use an external program to process it and read the result into another vector. What is the best practices for doing that kind of operation? I need guarantees that all the data has been consumed and the process has finished before continuing. I’ve been trying using sys:run-shell-command, but I don’t understand how to make the call synchronous while using streams. There seems to be a bunch of related functions (run-shell-command, open-pipe, call-system, call-system-showing-output …), and I’m not sure which is the most appropriate in this case. Any tips greatly appreciated! Erik _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html