Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] using Unix.create_process and Unix.waitpid
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Shawn Wagner <shawnw@s...>
Subject: Re: [Caml-list] using Unix.create_process and Unix.waitpid
On Tue, Feb 04, 2003 at 07:18:16PM +0100, Oliver Bandel wrote:
> 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?

I'd use Unix.open_process_in instead of create_process.

-- 
Shawn Wagner
shawnw@speakeasy.org
-------------------
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