On Wed, Mar 26, 2003 at 09:58:10PM +0000, Paulo Jorge de Oliveira Cantante de Matos 
wrote:
> 
> Hi all,
> 
> I'm using CMUCL18d and I've tried the following without luck:
> * (setf cat (extensions:run-program "/bin/cat" nil :input :stream
> :output :stream :error :stream :wait nil))
> Warning:  Declaring CAT special.
> 
> #<process 28821 :RUNNING>
> * (format (extensions:process-input cat) "hello~%")
> NIL

(force-output (ext:process-input cat))

> * (read-line (extensions:process-output cat))

"hello"
NIL

-- 
; Matthew Danish <[EMAIL PROTECTED]>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."

Reply via email to