<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Jan 2015, at 01:48, Jared C. Davis <<a href="mailto:jared.c.davis@gmail.com" class="">jared.c.davis@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<br class=""><br class="">I'm new to ECL. I have some questions about the ext:run-program.<br class=""><br class="">According to the documentation at:<br class=""><br class=""> <a href="http://ecls.sourceforge.net/new-manual/rn01re63.html" class="">http://ecls.sourceforge.net/new-manual/rn01re63.html</a><br class=""><br class="">It sounds as though run-program can take :error :stream. However, when I try<br class="">to run:<br class=""><br class=""> (ext:run-program "echo" (list "hello")<br class=""> :input :stream<br class=""> :output :stream<br class=""> :error :stream)<br class=""><br class="">I seem to hit an error:<br class=""><br class=""> Debugger received error of type: SIMPLE-ERROR<br class=""> Invalid :ERROR argument to EXT:RUN-PROGRAM:<br class=""> :STREAM<br class=""><br class="">Is there some other command I should use besides ext:run-program that might<br class="">allow me to get all three stdin/out/err streams?<br class=""><br class="">I'm using x86-64 Linux with the ECL 13.5.1 release from the sourceforge project<br class="">page. Perhaps I should use a newer version of ECL from Git?<br class=""></div></div></blockquote><br class=""></div><div>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.</div><div><br class=""></div><div>(I've got ecl from git, commit d1725e193059e98567d3c7dababf4643a9a347b8).</div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-- <br class="">__Pascal J. Bourguignon__<br class=""><br class=""><br class=""></div></div>
</div>
<br class=""></body></html>