On Apr 11, 2008, at 6:33 , Don Stewart wrote:
Hmm, I can get this to work, but only if I have another process waitingBut I can't use writeFile to write data to it. Worse, it returns: *** Exception: /tmp/bakroller.zD0xHj/fifo: openFile: does not exist (No such device or address)on the pipe already:
Yep; that's one of the tricky parts of FIFOs. If you don't have the read side *always* open, it behaves very nonintuitively. (But with the read side always open, you will never receive an EOF.)
This has nothing to do with Haskell; it's just the way FIFOs work. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon university KF8NH _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
