ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23686] - <exec> doesn't work well with interactive programs
Date Mon, 13 Oct 2003 13:06:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23686>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23686

<exec> doesn't work well with interactive programs





------- Additional Comments From bodewig@apache.org  2003-10-13 13:06 -------
Hmm, good question, I was sure this would be documented in the <exec> page.
I'll add this shortly.

It means we don't know how to properly fix it, some issues:

* Ant will not know whether a spawned prcess is going to ask for input - and
  how much.  Reading from System.in is a blocking operation.  Whan should
  Ant start to read it, when should it stop?

* The started process may try to read from the input immediately, this means Ant
  must start pumping input into ut even before it gets time to read something
  from the process.

* If multiple tasks are running simultaniously (<parallel>), which one will get
  the input?

All those problems are not present for the input and inputstring support in Ant
1.6.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message