From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a0999bfe89e1b4f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-29 10:21:46 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: prichtmyer@yahoo.com (Peter Richtmyer) Newsgroups: comp.lang.ada Subject: Re: Call to execvp in Rational Ada Date: 29 Nov 2002 10:21:46 -0800 Organization: http://groups.google.com/ Message-ID: <1b585154.0211291021.8fbe539@posting.google.com> References: NNTP-Posting-Host: 164.223.72.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1038594106 10112 127.0.0.1 (29 Nov 2002 18:21:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Nov 2002 18:21:46 GMT Xref: archiver1.google.com comp.lang.ada:31314 Date: 2002-11-29T18:21:46+00:00 List-Id: "Steven Deller" wrote in message news:... > > You seem to have a mistaken expectation of the call to the UNIX execvp > operation. > You got that right! Thanks. I found a suitable (though "rational-only") substitute. See below. Thanks again, Peter ----------------------------------------------- with system; with Unix_Operations; -- in rational.rss with Unix_Types; -- also procedure artest is nul : constant Character := Character'Val (0); status : Unix_Types.int := 0; command : String := "ls -la" & nul; begin status := Unix_Operations.system ( Command => Unix_Types.To_Char_Ptr(command'address)); end artest; ------------------------------------------------