[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | oliver@f... |
| Subject: | [Caml-list] using Unix.create_process and Unix.waitpid |
Hello,
I tried to use Unix.create_process but I don't know how to use it.
I only need an Unix.popen but there is no Unix.popen in the
library.
So I think I may use Unix.create_process, even if it is
oversized for my needs.
Q1: How to use Unix.create_process for e.g. reading the
result of the ls-command, or (what I need) the result
of btreeop?
Q2: Or does it makes more sense to write a module, where
I write a Ocaml-function, which binds the popen(3)
call to a unix-function? (Could this external program
be inserted into the Unix-module by some of the
module-operations, so that I could call a Unix.popen
on a self-defined (non standard-lib) function call?
Ciao,
Oliver
-------------------
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