From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Newbie Question: using Text_IO.Open() to read from standard input
Date: Thu, 13 Oct 2005 18:14:23 +0200
Date: 2005-10-13T18:14:23+02:00 [thread overview]
Message-ID: <2303137.6yz9d3qpho@linux1.krischik.com> (raw)
In-Reply-To: 1129168120.924614.26250@f14g2000cwb.googlegroups.com
pamela.lum@gmail.com wrote:
> Tried that (see the code below named test_cl.ada). It fails to detect
> arguments after the redirect ("<" ) character in the command :
Most commandline shells will strip the filename which follows "<" and ">"
from the commandline. Instead they will use the filename to open a File an
connect it to Standart_Input or Standart_Output of the newly created
process.
In fact: they will try to open the file *before* the program is started.
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
next prev parent reply other threads:[~2005-10-13 16:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-13 0:49 Newbie Question: using Text_IO.Open() to read from standard input pamela.lum
2005-10-13 1:30 ` Anh Vo
2005-10-13 1:48 ` pamela.lum
2005-10-13 1:56 ` Anh Vo
2005-10-13 16:14 ` Martin Krischik [this message]
2005-10-13 1:58 ` tmoran
2005-10-13 2:02 ` pamela.lum
2005-10-13 2:19 ` Anh Vo
2005-10-13 5:26 ` Jeffrey R. Carter
2005-10-13 6:53 ` tmoran
2005-10-13 3:15 ` Steve
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox