comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Spawn : Get the output of the called program
Date: Wed, 06 Apr 2005 15:34:43 +0200
Date: 2005-04-06T15:34:43+02:00	[thread overview]
Message-ID: <2153195.1dGfl6qKBO@linux1.krischik.com> (raw)
In-Reply-To: pan.2005.04.06.10.21.14.174359@a2lf.org

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.

No you need a special library which attaches pipes to stdin  and stdout.

> Do you know how can i get the output with Spawn, or another
> function/procedure to do that ?

AdaCL (adacl.sf.net) has got a package (AdaCL.OS.Command) which can do
exactly that.

Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com




  parent reply	other threads:[~2005-04-06 13:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06 10:21 Spawn : Get the output of the called program Jean-Baptiste CAMPESATO
2005-04-06 10:52 ` Jean-Baptiste CAMPESATO
2005-04-06 11:15   ` Pascal Obry
2005-04-06 11:24     ` Jean-Baptiste CAMPESATO
2005-04-06 13:36   ` Martin Krischik
2005-04-06 13:34 ` Martin Krischik [this message]
2005-04-06 14:09 ` Marc A. Criley
2005-04-06 14:43 ` Jean-Baptiste CAMPESATO
2005-04-06 15:13   ` Dmitry A. Kazakov
2005-04-06 17:08     ` Martin Krischik
2005-04-07  9:33       ` Dmitry A. Kazakov
2005-04-12  9:28 ` Duncan Sands
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox