Opened 4 years ago

#1385 new defect

run-program documentation fails to mention :element-type

Reported by: pipping Owned by:
Priority: normal Milestone:
Component: other Version: trunk
Keywords: Cc:

Description

http://ccl.clozure.com/manual/chapter9.4.html gives this signature:

run-program program args &key (wait t) pty sharing input if-input-does-not-exist output (if-output-exists :error) (error :output) (if-error-exists :error) status-hook external-format env (silently-ignore-catastrophic-failures *silently-ignore-catastrophic-failure-in-run-program*)

The signature in https://github.com/Clozure/ccl/blob/82f5f8d3a758ebcd42bbea69d4c5cf265f027759/level-1/linux-files.lisp#L1446-L1456

is

  (defun run-program (program args &key
                              (wait t) pty
                              input if-input-does-not-exist
                              output (if-output-exists :error)
                              (error :output) (if-error-exists :error)
                              status-hook (element-type 'character)
                              env
                              (sharing :private)
                              (external-format `(:character-encoding ,*terminal-character-encoding-name*))
                              (silently-ignore-catastrophic-failures
                               *silently-ignore-catastrophic-failure-in-run-program*))

In particular, it contains :element-type

Change History (0)

Note: See TracTickets for help on using tickets.