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: 103376,1a7be6e64c98018a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!atl-c03.usenetserver.com!pc03.usenetserver.com!ALLTEL.NET!not-for-mail Date: Wed, 06 Apr 2005 09:09:53 -0500 From: "Marc A. Criley" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Spawn : Get the output of the called program References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <48040$4253eda3$49953c0$9900@ALLTEL.NET> X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: 480404253eda3a13cf66509900 Xref: g2news1.google.com comp.lang.ada:10304 Date: 2005-04-06T09:09:53-05:00 List-Id: Jean-Baptiste CAMPESATO wrote: > Hello, > I want to called a programm (like the Spawn Procedure in GNAT.OS_lib) but > i wannt to get the output fo this program. > Do you know how can i get the output with Spawn, or another > function/procedure to do that ? > Thanks Jim Rogers' "Pipes" has long been my "go to" package whenever I need to spawn a program and capture its output for post-processing: http://www.adapower.com/index.php?Command=Class&ClassID=Bindings&CID=181