Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#302 EXT:RUN-PROGRAM with input/output strings

HEAD
accepted
jackdaniel
extensions (1)
1
2015-02-25
2012-08-24
No

(with-output-to-string (s)
(ext:run-program "cat" '("/proc/interrupts") :output s))

Discussion


  • Anonymous
    2012-08-24

    It seems that it also affects to ECL integration with Slime. E.g.:

    CL-USER> (ext:run-program "cat" '("/proc/interrupts"))
    

    It fails showing this error:

    :ERROR argument to RUN-PROGRAM does not have a file handle:
    #<a SWANK-BACKEND::SLIME-OUTPUT-STREAM>
       [Condition of type SIMPLE-ERROR]
    
     


Anonymous


Cancel   Add attachments