Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Oct 1, 2024
1 parent 4523298 commit 8067007
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/async-process.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@
:for code := (cffi:mem-aref pointer :unsigned-char i)
:until (zerop code)
:collect code)))
(map 'string 'code-char bytes))))
(babel:octets-to-string
(make-array (length bytes)
:element-type '(unsigned-byte 8)
:initial-contents bytes)))))

(defun process-receive-output (process)
(let ((cffi:*default-foreign-encoding* (process-encode process)))
Expand Down

0 comments on commit 8067007

Please sign in to comment.