[Ecls-list] Hang opening named pipe?

Waldek Hebisch hebisch at math.uni.wroc.pl
Thu Jan 12 19:07:13 UTC 2012


I am trying to comunicate using named pipes.  First create
a fifo:

mkfifo fromA

On one terminal start:

cat < fromA

On the second start ecl and try:

(setf ofil (open "fromA" :direction :output :if-exists :append))

Apparently ecl hangs in open.

The same if I use:

(setf ofil (open "fromA" :direction :output :if-exists :overwrite))

or

(setf ofil (open "fromA" :direction :output :if-exists :supersede))

Only:

(setf ofil (open "fromA" :direction :output))

works.  However, the last form is undefined when the file
exists, and for example in sbcl it fails.

-- 
                              Waldek Hebisch
hebisch at math.uni.wroc.pl 




More information about the ecl-devel mailing list