run-program: unwrap synonym-streams when processing the stream

This commit is contained in:
Daniel Kochmański 2019-05-25 17:15:28 +02:00
parent 44f4282742
commit 7fd97549d6

View file

@ -124,6 +124,8 @@
(when (eql error t) (setf error *error-output*))
(labels ((process-stream (which &rest args)
(si:while (typep which 'synonym-stream)
(setf which (symbol-value (synonym-stream-symbol which))))
(cond ((null which)
(null-stream (getf args :direction)))
((or (stringp which)