Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!bbn!uwmcsd1!ig!jade!ucbvax!grand.UUCP!day From: day@grand.UUCP Newsgroups: comp.lang.icon Subject: open ("command", "wp) Message-ID: <8801060738.AA13176@grand.COM> Date: 6 Jan 88 07:38:53 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: Grand Software, Inc., makers of "The Grand Editor" Lines: 25 Consider the following /bin/sh script: echo finished | (sleep 15 ; cat) Compare that with the following icon program: procedure main (args) local output if not (output := open ("sleep 15 ; cat", "wp")) then stop ("trmsg: can't open a pipe for writing") write (output, "finished") return end I believe they should be functionally equivalent. They're not. The shell script waits for the cat, while the icon version exits immediately after writing to the pipe, without waiting. I think this is an obvious bug. If you don't agree, I will be happy to explain more fully. --dave