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,71c49bb637416afe X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: "system" Call in GNAT? Date: 1999/04/07 Message-ID: <7egmhh$tif$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 463787727 References: <3708E4C0.F13C2023@alphasoft-inc.com> X-Http-Proxy: 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Apr 07 22:34:26 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-04-07T00:00:00+00:00 List-Id: In article <3708E4C0.F13C2023@alphasoft-inc.com>, smithm-nospam@stelnj.com wrote: > Hi All, > > I was looking for a call in GNAT that would make > invoke a command to the OS > for me and I found the function "system" and "execl". When using GNAT, do not forget that a critical part of the documentation is the specs of the g.xxx units, found in the g-xxx.ads files in gnatlib. These provide a lot of useful functionality. In this particular case, look up the section called Subprocesses in g-os_lib.ads, it may well do what you want, without having to mess with low level interface to C functions. Robert Dewar Ada Core Technologies -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own