Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] execvp broken ??
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ian Zimmerman <itz@s...>
Subject: Re: [Caml-list] execvp broken ??

Thus wrote yours truly after too much time spent writing Perl:

itz> kronstadt:/usr/local/src/ocaml/ocaml-3.04/otherlibs/unix$ ocaml
itz>         Objective Caml version 3.04

itz> # load "unix.cma" ;;
itz> Unbound value load
itz> # #load "unix.cma" ;;
itz> # open Unix ;;
itz> # execvp "od" [| "-c" |] ;;
itz> a^Eb
itz> 0000000 002541 005142
itz> 0000004
itz> kronstadt:/usr/local/src/ocaml/ocaml-3.04/otherlibs/unix$ 

itz> Obviously, the -c argument is not being passed.
itz> WTH ?!?

Please ignore :-)

-- 
Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr