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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,15e9725ee4ac8322 X-Google-Attributes: gid103376,public From: Markus Kuhn Subject: Re: [Q] Operating System Command Interface Date: 1998/05/05 Message-ID: <354F1D90.39080B2D@cl.cam.ac.uk>#1/1 X-Deja-AN: 350439684 Content-Transfer-Encoding: 7bit References: <6ims5j$1vo@gcsin3.geccs.gecm.com> Content-Type: text/plain; charset=us-ascii Organization: Cambridge University, Computer Laboratory Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-05-05T00:00:00+00:00 List-Id: John McCabe wrote: > Am I right in thinking that, as standard, Ada has no direct perating > system command interface akin to the C "System" call? Look into the IEEE POSIX.5 standard, the Ada version of the Unix API. There you'll find procedures such as procedure Start_Process (Child : out POSIX.Process_Identification.Process_ID; Pathname : in POSIX.Pathname; Template : in Process_Template; Arg_List : in POSIX.POSIX_String_List := POSIX.Empty_String_List); in package POSIX.Process_Primitives that probably do what you want (i.e. allow you to call "/bin/sh", etc.). An implementation is on http://www.cs.fsu.edu/~baker/florist.html Markus -- Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK email: mkuhn at acm.org, home page: