comp.lang.ada
 help / color / mirror / Atom feed
From: sk <noname@myob.com>
To: comp.lang.ada@ada.eu.org
Subject: Re: Ada & Scripting
Date: Wed, 14 May 2003 13:51:13 -0500
Date: 2003-05-14T13:51:13-05:00	[thread overview]
Message-ID: <mailman.0.1052937680.22676.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 1419124.iFzRYCrhqu@linux1.krischik.com

krischik@users.sourceforge.net:

 > It is tricky since C function 'pipe' can only do one of the two.

The method is to use two pipes, one hooked to stdin, one to stdout
and if you are so inclined, a third pipe for stderr.

1) This is quite doable in Ada with roll-your-own bindings.
2) If you use GNAT, look at the package GNAT.Expect

Also you might look at AdaPower for the 'popen' bindings.

-- 
-------------------------------------------------
-- Merge vertically for real address
--
--     s n p @ t . o
--      k i e k c c m
-------------------------------------------------




  reply	other threads:[~2003-05-14 18:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10 12:07 Ada & Scripting kat-Zygfryd
2003-05-10 13:34 ` Preben Randhol
2003-05-10 19:10 ` Bobby D. Bryant
2003-05-10 20:28   ` kat-Zygfryd
2003-05-11  1:39     ` John R. Strohm
2003-05-11 10:12       ` kat-Zygfryd
2003-05-11 10:55         ` John R. Strohm
2003-05-11 11:23           ` kat-Zygfryd
2003-05-13  4:45             ` Bobby D. Bryant
2003-05-13 16:32               ` Wesley Groleau
2003-05-20 22:19               ` Randy Brukardt
2003-05-21 11:43                 ` Georg Bauhaus
2003-05-12  8:46     ` Preben Randhol
2003-05-12 12:09       ` Frank Piron
2003-05-12 14:31         ` Preben Randhol
2003-05-13  4:47         ` Bobby D. Bryant
2003-05-13 16:33 ` Martin Krischik
2003-05-14 15:22   ` Preben Randhol
2003-05-14 17:05     ` Martin Krischik
2003-05-14 18:51       ` sk [this message]
2003-05-15 16:47         ` Martin Krischik
2003-05-16 20:57           ` sk
2003-05-17  7:36             ` Martin Krischik
replies disabled

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