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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to