Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-02-05 (00:20)
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
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: