close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 11 years ago

Closed 10 years ago

#87 closed enhancement (fixed)

run-program and binary streams

Reported by: Helmut Eller Owned by: somebody
Priority: minor Milestone:
Component: Core Version: 20e
Keywords: Cc:


Apparently the streams created by ext:run-program are always character streams. There should also be a way to create binary streams. E.g. CCL's version of run-program has an :element-type argument for that purpose

Change History (1)

comment:1 Changed 10 years ago by toy.raymond@…

Resolution: fixed
Status: newclosed

commit 53c2f46a97425ce7af98550529711de3293a5692 Author: Raymond Toy <toy.raymond@…> Date: Sun Feb 9 17:18:49 2014 -0800

Fix ticket:87

Add :ELEMENT-TYPE keyword option to RUN-PROGRAM

  • src/code/run-program.lisp:
    • Add :element-type option, and use it as needed when creating input or output streams.

  • tests/trac.lisp:
    • Add tests.
Note: See TracTickets for help on using tickets.