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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d1a2aff784715896 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed.straub-nv.de!news2.arglkargh.de!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Start a Windows process and get its text output Date: Sat, 06 Feb 2010 12:42:10 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: NNTP-Posting-Host: eeef23535470c205dea11e1d8c9e0bcf Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: d6a13428efe9c1ac20a44f30d1613e15 X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=d6a13428efe9c1ac20a44f30d1613e15 X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news1.google.com comp.lang.ada:8945 Date: 2010-02-06T12:42:10-07:00 List-Id: Gautier write-only wrote: > > Does someone have some nice open source to do that ? > I began to cannibalize working code from AdaGIDE, but it is a bit > messy. > If I can save a couple of hours to make a good package out of it, it > would be cool... I used to do something like this to get a directory listing in Ada 95: Using GNAT.OS_Lib I spawned cmd and redirected the output to a file, then read the file from my program. Not nearly as complex as what you're after, but it worked for my purposes and only took a few minutes to get working. -- Jeff Carter "It's symbolic of his struggle against reality." Monty Python's Life of Brian 78