[Ecls-list] ECL + LTK on Windows

Juan Jose Garcia Ripoll worm at arrakis.es
Mon Aug 2 05:29:11 UTC 2004


Hi,

this weekend I have implemented the Windows version of the RUN-PROGRAM 
routine for ECL (http://ecls.sf.net). This function lets you spawn child 
processes with a redirected output, as in (code not really tested follows)

    (let ((f (si::run-program "cat" nil :input :stream :output stream)))
       (dotimes (i 10)
          (format f "~d~%")
          (print (read f)))
       (close (two-way-stream-input-stream f))
       (close (two-way-stream-output-stream f)))

The most immediate consequence of having RUN-PROGRAM is that ECL can now 
use the portable GUI toolkit LTK (http://www.peter-herth.de/ltk/) also 
under windows.  

Regards,

Juanjo




More information about the ecl-devel mailing list