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 FAA31035; Tue, 15 Jan 2002 05:19:14 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA32077 for ; Tue, 15 Jan 2002 05:19:13 +0100 (MET) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0F4JCf28712 for ; Tue, 15 Jan 2002 05:19:12 +0100 (MET) Received: (qmail 12566 invoked from network); 15 Jan 2002 04:19:11 -0000 Received: from unknown (HELO kronstadt) ([64.81.49.223]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Jan 2002 04:19:11 -0000 Received: from itz by kronstadt with local (Exim 3.33 #1 (Debian)) id 16QL42-0002kj-00 for ; Mon, 14 Jan 2002 20:19:10 -0800 To: caml-list@inria.fr (OCAML) Subject: Re: [Caml-list] execvp broken ?? References: <863d18gsor.fsf@speakeasy.org> From: Ian Zimmerman Date: 14 Jan 2002 20:19:10 -0800 In-Reply-To: <863d18gsor.fsf@speakeasy.org> Message-ID: <86y9j0fdq9.fsf@speakeasy.org> User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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