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: John McCabe Subject: Re: [Q] Operating System Command Interface Date: 1998/05/05 Message-ID: <6in5sm$9n1@gcsin3.geccs.gecm.com>#1/1 X-Deja-AN: 350439681 Content-Transfer-Encoding: 7bit References: <6ims5j$1vo@gcsin3.geccs.gecm.com> <6in54g$jc9$1@polo.advicom.net> Content-Type: text/plain; charset=us-ascii Organization: GMS&T Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-05-05T00:00:00+00:00 List-Id: >John McCabe wrote in message <6ims5j$1vo@gcsin3.geccs.gecm.com>... >>Am I right in thinking that, as standard, Ada has no direct perating >>system command interface akin to the C "System" call? >You're right, but the solution is simple. I use the following library >function: <..snip..> > pragma Import (C, Execute, "system"); <..snip..> Thanks David. However, I presume that this relies on the C "system" function being available in a linkable library. -- Best Regards John McCabe ===================================================================== Any opinions expressed are mine and based on my own experience. They should in no way be taken as the opinion of anyone I am currently working with, or of the company I am currently working for. (remove "nospam." to reply by e-mail) =====================================================================