Version française
Home     About     Download     Resources     Contact us    
Browse thread
commands.getoutput () in ocaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: malc <av1474@c...>
Subject: Re: [Caml-list] commands.getoutput () in ocaml?
On Thu, 23 Aug 2007, malc wrote:

> On Wed, 22 Aug 2007, Luca de Alfaro wrote:
>
>> Dear All,

[..snip..]

>
> open Unix;;
>
> let getprocout cmd =
[..snip..]
> ;;

This does not include closing of input channel and processing of
status. So Unix.close_process_in ought to be utilized somewhere.
Sorry about that.

-- 
vale