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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin.stu.neva.ru!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 27 Nov 2013 08:02:54 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Is there some way of calling a system command? References: <1150031952.347657.244910@i40g2000cwc.googlegroups.com> <78030be6-8fe4-4514-85fc-a2627507628f@googlegroups.com> <2e86f26f-8fcf-4bde-b426-4bebe19e2630@googlegroups.com> In-Reply-To: <2e86f26f-8fcf-4bde-b426-4bebe19e2630@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <5295991f$0$6634$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Nov 2013 08:02:55 CET NNTP-Posting-Host: 6ca1baab.newsspool2.arcor-online.net X-Trace: DXC=`GTb3eYe<2`J00P1S40fZgA9EHlD; 3Ycb4Fo<]lROoRa8kFejVhRkEeDe5VfhiY]075la?Njh X-Complaints-To: usenet-abuse@arcor.de X-Original-Bytes: 2151 Xref: number.nntp.dca.giganews.com comp.lang.ada:184011 Date: 2013-11-27T08:02:55+01:00 List-Id: On 26.11.13 20:49, adambeneschan@gmail.com wrote: > On Tuesday, November 26, 2013 10:54:37 AM UTC-8, tolkamp wrote: > >> >Thank you for your explanation. Now it works, the extra program is started. >> > >> >The only disadvantage is that the Ada code below the procedure System_Example is suspended untill the extra started program is terminated. Is there a possibility that the Ada program continues while the extra program runs? > You could try putting it in a task. I'd also try the "start" command available with Windows(TM) and see if it makes the Ada program continue while the "start"-ed program runs at the same time. (That is, you'd use "start" like "dir", with the to-be-run program among the arguments passed to "start".)