Commit 63006fba authored by Eric Timmons's avatar Eric Timmons
Browse files

launch-program: As of ECL 20.4.24, streams do not need to be files or synonyms

From CHANGELOG:

    - ~ext:run-program~: process streams may be virtual streams (for instance
      ~*standard-output*~ in slime, or a string-output-stream)
parent 966e93ea
......@@ -525,10 +525,11 @@ LAUNCH-PROGRAM returns a PROCESS-INFO object."
(parameter-error "~S: The only admissible value for ~S is ~S on this lisp"
'launch-program :error-output :interactive))
#+ecl
(when (some #'(lambda (stream)
(and (streamp stream)
(not (file-or-synonym-stream-p stream))))
(list input output error-output))
(when (and (version< (lisp-implementation-version) "20.4.24")
(some #'(lambda (stream)
(and (streamp stream)
(not (file-or-synonym-stream-p stream))))
(list input output error-output)))
(parameter-error "~S: Streams passed as I/O parameters need to be (synonymous with) file streams on this lisp"
'launch-program))
#+(or abcl allegro clozure cmucl ecl (and lispworks os-unix) mkcl sbcl scl)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment