From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA18290; Wed, 5 Feb 2003 01:20:52 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA18393 for ; Wed, 5 Feb 2003 01:20:51 +0100 (MET) Received: from speakeasy.org (dsl081-017-141.sea1.dsl.speakeasy.net [64.81.17.141]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h150KnP20394 for ; Wed, 5 Feb 2003 01:20:50 +0100 (MET) Received: (from shawnw@localhost) by speakeasy.org (8.10.1/8.10.1) id h150XMa23619 for caml-list@inria.fr; Tue, 4 Feb 2003 16:33:22 -0800 Date: Tue, 4 Feb 2003 16:33:21 -0800 From: Shawn Wagner To: caml-list@inria.fr Subject: Re: [Caml-list] using Unix.create_process and Unix.waitpid Message-ID: <20030204163321.X22850@speakeasy.org> Mail-Followup-To: caml-list@inria.fr References: <20030204181815.GA356@first.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030204181815.GA356@first.in-berlin.de>; from oliver@first.in-berlin.de on Tue, Feb 04, 2003 at 07:18:16PM +0100 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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