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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,880c6df074e603db X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-14 05:29:19 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Is it possible to start another executable from within an ada program? Date: Tue, 13 May 2003 18:25:43 +0200 Organization: AdaCL Message-ID: <3184874.Ph3HeJpxRb@linux1.krischik.com> References: Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1052914591 07 13206 CiO+E-ObTfY69J 030514 12:16:31 X-Complaints-To: abuse@t-online.com X-ID: bQqXBoZLgeQUCRDAxIaFkV+o0LAHcARMMykdVrhnwSVurdLQGhiwwU User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:37315 Date: 2003-05-13T18:25:43+02:00 List-Id: Vincent wrote: > I have a little problem : I am trying to start another .exe from my > ADA program... Anybody knows of a way to do such a thing? Depends on the compiler you are using. GNAT has a libary for low level OS access. If you need some Demo source you might want to look here: http://adacl.sourceforge.net/html/TestCommand__adb.htm http://adacl.sourceforge.net/html/______Include__AdaCL-OS-Command__adb.htm#158_9 Of cource this is not finished code. > In a perfect world, I'd prefer the call to be blocking, but I could > also do with a non-blocking call. Any ideas? GNAT can do both. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com