Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] pipe communication with toplevel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Steve Harris <scharris@w...>
Subject: [Caml-list] pipe communication with toplevel
I'm doing a graphical ocaml toplevel wrapper for OS X, it's working 
except when I type in bad syntax,
then the ocaml toplevel background process that I'm communicating with 
quits or dies, I don't know why.  I've got the toplevel's standard 
in,out, and error redirected to pipes that the graphical shell is using 
for communication with it.  The session is fine until bad input is 
finally typed.  Any ideas about why it quits like that?
Is it checking isatty() or similar on stdin and deciding there's no 
human  so better to just quit upon error?
Sys.interactive is already true here.

BTW I'll post it when done in case anybody else is fed up with the 
terminal and terminal-embedded-emacs on OS X like me :)

Steve Harris
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: