Thomas,

A simple solution seems to avoid that path handling at all, assuming
cdo2ml is in the PATH. So we would have:

Thomas Petazzoni <[EMAIL PROTECTED]> writes:

> I grepped in cduce source code, and I think the call to cdo2ml is in
> ocamliface/mlstub.ml, around line 550 :
>
>   let exe = Filename.concat (Filename.dirname Sys.argv.(0)) "cdo2ml" in

let exe = "cdo2ml" in

>   print_endline prolog;
>   let oc = Unix.open_process_out exe in
>   Marshal.to_channel oc str_items [];
>   flush oc;
>   ignore (Unix.close_process_out oc)

Yours,
d.
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <[EMAIL PROTECTED]>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A



_______________________________________________
Demexp-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/demexp-dev

Répondre à