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,FREEMAIL_FROM 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 Path: g2news1.google.com!postnews.google.com!f15g2000yqe.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Start a Windows process and get its text output Date: Sat, 6 Feb 2010 11:21:16 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <4b6db363$0$17518$ba4acef3@news.orange.fr> NNTP-Posting-Host: 92.107.0.229 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265484076 18139 127.0.0.1 (6 Feb 2010 19:21:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 6 Feb 2010 19:21:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f15g2000yqe.googlegroups.com; posting-host=92.107.0.229; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8944 Date: 2010-02-06T11:21:16-08:00 List-Id: On Feb 6, 7:23=A0pm, Pascal Obry wrote: > What about GNAT.Expect? Thanks, it looks exactly what I need. Just need to use it correctly. Fortunately there is an example there: http://www.adacore.com/2008/11/24/gem-54/ Just need to find how pipe the process' output to a string buffer. An idea ? I guess it is a 1-liner with GNAT.Expect. Thanks again _________________________________________________________ Gautier's Ada programming -- http://sf.net/users/gdemont/ NB: For a direct answer, e-mail address on the Web site!