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 Path: g2news1.google.com!news1.google.com!proxad.net!freenix!talisker.lacave.net!lacave.net!feeder.xsnews.nl!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <1929332.DIIapJC2s8@linux1.krischik.com> From: Martin Krischik Subject: Re: Spawn : Get the output of the called program Newsgroups: comp.lang.ada Date: Wed, 06 Apr 2005 15:36:36 +0200 References: User-Agent: KNode/0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Complaints-To: abuse@surfino.com Organization: Surfino Gmbh NNTP-Posting-Host: 83.169.175.19 (83.169.175.19) NNTP-Posting-Date: Wed, 06 Apr 2005 16:00:22 +0200 X-Trace: 0c92f4253eb76f60c0ab619967 Xref: g2news1.google.com comp.lang.ada:10303 Date: 2005-04-06T15:36:36+02:00 List-Id: Jean-Baptiste CAMPESATO wrote: > Le Wed, 06 Apr 2005 12:21:14 +0200, Jean-Baptiste CAMPESATO a �crit�: > >> 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 > > ReHello, > I want to do that to create a "CGI Executer". > I want to set the Environement for the called CGI Program, execute this > program and get the output of this program. > Somebody have an example for me please ? As I said AdaCL (adacl.sf.net). However, AdaCL also got a complete CGI framework - no need to write your own. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com