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 24918] - [PATCH] Permit console input to be sent to <java>
Date Sun, 23 Nov 2003 14:28:15 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=24918>.
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=24918

[PATCH] Permit console input to be sent to <java>





------- Additional Comments From conor@cortexebusiness.com.au  2003-11-23 14:28 -------
I have a quick question since I have not tried the code - won't putting a pump
on standard input potentially pump more input into the task than it takes. A
second task taking input might not get it. This might only be an issue when
redirecting input to Ant itself - not sure.

Also, I wonder if there is a potential for deadlock if the read is blocked.

If this does work, it would be useful for exec and sicne it uses the same
mechanism, it should be easy.

BTW, working in non-forked mode is intentional and should be controllable by the
-noinput flag if you don't want interactivity.

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


Mime
View raw message