mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 05:21:20 -08:00
run-program: arg-prep: add informative comment
This commit is contained in:
parent
925196c453
commit
74f4300aa0
1 changed files with 7 additions and 1 deletions
|
|
@ -107,7 +107,13 @@
|
|||
(apply #'open which :external-format external-format args))
|
||||
((eql which nil)
|
||||
(null-stream (getf args :direction)))
|
||||
((or (eql which :stream) (streamp which))
|
||||
#+(and (or) clos-streams threads)
|
||||
((and (streamp which)
|
||||
(null (typep which 'ext:ansi-stream)))
|
||||
#| Here we may want to return `:stream' and spawn
|
||||
thread to handle data at runtime to fd. |#)
|
||||
((or (eql which :stream)
|
||||
(streamp which))
|
||||
which)
|
||||
;; signal error as early as possible
|
||||
(T (error "Invalid ~S argument to EXT:RUN-PROGRAM" which))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue