;; install by `ros install fgatherlet/cl-pipe` or something.
(ql:quickload :cl-pipe)
(use-package :cl-pipe)
(with-open-pipe (input-stream output-stream)
(format output-stream "(+ 1 2) ")
(finish-output output-stream)
(read input-stream))
;; (+ 1 2)
This is simple utilities to handle unix pipe as stream. This uses sb-unix, sb-sys api. Currently this works only with sbcl.
This supports only sbcl.
- fgatherlet ([email protected])
Copyright (c) 2019 fgatherlet ([email protected])
Licensed under the MIT License.