[Ecls-list] run-program with :error :stream?

Jared C. Davis jared.c.davis at gmail.com
Tue Jan 20 00:48:02 UTC 2015


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

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?

Thanks!

Jared

-- 
Jared C. Davis <jared at cs.utexas.edu>
11410 Windermere Meadows
Austin, TX 78759
http://www.cs.utexas.edu/users/jared/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20150119/6b58f304/attachment.html>


More information about the ecl-devel mailing list