Communicating with process

From: TOKUNAGA Takenobu <take_at_cs.titech.ac.jp>
Date: Thu, 30 May 1996 14:53:54 JST

I want to run a process from STk and to communicate with it through
the pipe.

The following code seems to work well, but this actually does not work.

(define cat-proc (run-process "cat" :input :pipe :output :pipe))
(display "afo" (process-input cat-proc))
(flush (process-input cat-proc))
(read (process-output cat-proc))

Evaluating (read ...) is blocked and I get nothing.

Does anyone could help me?

Thanks.

-take
Received on Thu May 30 1996 - 07:56:21 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST