[Ecls-list] run-program with :error :stream?
Pascal J. Bourguignon
pjb at informatimago.com
Tue Jan 20 01:07:02 UTC 2015
> On 20 Jan 2015, at 01:48, Jared C. Davis <jared.c.davis at gmail.com> wrote:
> I'm new to ECL. I have some questions about the ext:run-program.
> According to the documentation at:
> http://ecls.sourceforge.net/new-manual/rn01re63.html <http://ecls.sourceforge.net/new-manual/rn01re63.html>
> It sounds as though run-program can take :error :stream. However, when I try
> to run:
> (ext:run-program "echo" (list "hello")
> :input :stream
> :output :stream
> :error :stream)
> I seem to hit an error:
> Debugger received error of type: SIMPLE-ERROR
> Invalid :ERROR argument to EXT:RUN-PROGRAM:
> Is there some other command I should use besides ext:run-program that might
> allow me to get all three stdin/out/err streams?
> I'm using x86-64 Linux with the ECL 13.5.1 release from the sourceforge project
> page. Perhaps I should use a newer version of ECL from Git?
If you type M-. on ext:run-program, you will see in the source of the function, and that the error parameter can be T or :OUTPUT, not :STREAM.
(I've got ecl from git, commit d1725e193059e98567d3c7dababf4643a9a347b8).
__Pascal J. Bourguignon__
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel