> On 20 Jan 2015, at 01:48, Jared C. Davis <jared.c.da...@gmail.com> wrote:
>
> Hi,
>
> 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:
> :STREAM
>
> 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__
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list