From: Xavier Leroy <xleroy@pauillac.inria.fr>
To: caml-list@pauillac.inria.fr
Subject: Re: System interface
Date: Wed, 28 Sep 1994 18:02:54 +0100 (MET) [thread overview]
Message-ID: <9409281702.AA15528@pauillac.inria.fr> (raw)
In-Reply-To: <"swan.cl.cam.:158920:940927133021"@cl.cam.ac.uk> from "John Harrison" at Sep 27, 94 02:29:56 pm
> Is there a straightforward way (under Unix) of executing
> arbitrary system commands from inside CAML Light?
The unix__system function does just that. The "unix" library is in
contrib/libunix in the distribution. Once installed, it can be linked
with a standalone application as follows:
camlc -custom -o <applname> unix.zo <appl .zo files> -lunix
For interactive use of the functions provided by this library, first
build a "custom toplevel":
camlmktop -custom -o camlunix unix.zo -lunix
then launch it with:
camllight camlunix
- Xavier Leroy
prev parent reply other threads:[~1994-09-28 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-27 13:29 John Harrison
1994-09-28 17:02 ` Xavier Leroy [this message]
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=9409281702.AA15528@pauillac.inria.fr \
--to=xleroy@pauillac.inria.fr \
--cc=caml-list@pauillac.inria.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).