English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
LablGTK2: problem w/ GMain.Io
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-05-11 (23:11)
From: Matthew Hannigan <mlh@z...>
Subject: Re: [Caml-list] LablGTK2: problem w/ GMain.Io
On Thu, May 11, 2006 at 04:05:19PM -0600, Matt Gushee wrote:
>   echo '%show' > /tmp/bantam-matt/message.pipe
> ) --this caused the I/O error. Yet, if invoked the same 'echo' command 
> directly in an interactive shell (in this case, bash running in an 
> rxvt), it never caused the error. Why on earth would that be, I wonder?

At a guess because stdin is a tty, then output might be line buffered
(regardless of destination?)