sbcl-termux-build icon indicating copy to clipboard operation
sbcl-termux-build copied to clipboard

broken streams

Open francogrex opened this issue 1 year ago • 3 comments

Great work. But the run-program and streams are broken. I tested with ecl on the same platform exactly and all work perfectly as expected but in sbcl not. A simple example: (require 'asdf)

(defparameter out (open "/sdcard/file.txt" :direction :output :if-exists :supersede))

(defparameter process (uiop:launch-program (list "./program that outputs to stdout") :output out :error-output out :input :stream))

(close out)

No outputs at all. I tried all types of streams too, nothing works. In addition a program that reads via stdin, when inputting to it via streams debugger entered immediately wih broken pipe and complaints about fd streams (while in ecl same code works perfectly well).

francogrex avatar Jan 08 '24 22:01 francogrex