close Warning: Can't synchronize with repository "(default)" (/project/cmucl/public_html/git/cmucl.git does not appear to be a Git repository.). Look in the Trac log for more information.

Opened 3 years ago

Closed 3 years ago

#87 closed enhancement (fixed)

run-program and binary streams

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

Description

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 3 years ago by toy.raymond@…

  • Resolution set to fixed
  • Status changed from new to closed

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.