From: Keith Wansbrough <Keith.Wansbrough@cl.cam.ac.uk>
To: Andy Yang <yyu08@yahoo.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Wierd behavior of file reading when tried to start an executable in Ocaml code
Date: Mon, 04 Oct 2004 12:28:51 +0100 [thread overview]
Message-ID: <E1CER1P-0006RO-00@mta1.cl.cam.ac.uk> (raw)
In-Reply-To: Your message of "Mon, 04 Oct 2004 04:13:25 PDT." <20041004111325.69884.qmail@web53209.mail.yahoo.com>
> Hi,
>
> I am trying to call some outside exectuables in Ocaml
> code. So I tried Unix.system and Unix.exec. However I
> found that the program cannot execute correctly if it
> is called from Ocaml code, and at the same time it can
> work smoothly if I run it directly from a console.
Please post your OCaml code, and also the code of your "simple console program".
--KW 8-)
--
Keith Wansbrough <kw217@cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
University of Cambridge Computer Laboratory.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-10-04 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-30 17:30 [Caml-list] really HO Functions Harrison, John R
2004-10-04 11:13 ` [Caml-list] Wierd behavior of file reading when tried to start an executable in Ocaml code Andy Yang
2004-10-04 11:28 ` Keith Wansbrough [this message]
2004-10-04 12:40 ` skaller
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=E1CER1P-0006RO-00@mta1.cl.cam.ac.uk \
--to=keith.wansbrough@cl.cam.ac.uk \
--cc=caml-list@inria.fr \
--cc=yyu08@yahoo.com \
/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).