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
[email protected]
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list