caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oleg <oleg@okmij.org>
To: paul.lachat@edu.univ-fcomte.fr, caml-list@inria.fr, Kim.Nguyen@lri.fr
Subject: Re: [Caml-list] [Question] Loading .ml in memory to interact with them.
Date: Fri, 24 Mar 2017 23:43:43 +0900	[thread overview]
Message-ID: <20170324144343.GA3951@Magus.localnet> (raw)


> The problem here is that echo (or printf) closes the pipe_in fifo,
> hence sending EOF to the ocaml toplevel. You need to force the fifo to
> somehow remain open.

Eons ago, back in the last century, I wrote a simple tool for that task
        http://okmij.org/ftp/Communications.html#sh-agents
to script almost anything from really anything. I used it to drive
Mathematica (on a remote machine) from Emacs and database CLI tools.

(I just realized it has been 20 years...)

             reply	other threads:[~2017-03-24 14:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-24 14:43 Oleg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-23  9:37 paul.lachat
2017-03-23 13:02 ` Sébastien Hinderer
2017-03-23 13:26   ` paul.lachat
2017-03-23 13:41     ` Sébastien Hinderer
2017-03-23 13:57       ` paul.lachat
2017-03-23 14:24 ` Evgeny Roubinchtein
2017-03-23 15:09 ` François Bobot
     [not found]   ` <CAGYXaSbcqNWcXe1MLm_YyS28N7ji3td=L_jFVv35=50oSxaUDQ@mail.gmail.com>
2017-03-23 15:50     ` François Bobot
2017-03-24  9:04 ` Kim Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170324144343.GA3951@Magus.localnet \
    --to=oleg@okmij.org \
    --cc=Kim.Nguyen@lri.fr \
    --cc=caml-list@inria.fr \
    --cc=paul.lachat@edu.univ-fcomte.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).