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 Summary: <exec> doesn't work well with interactive programs Product: Ant Version: 1.6Beta Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Using the exec task to execute an interactive program doesn't seem to have its input stream set up correctly. If I explicitly add an input="/dev/tty" to the task it will stop and wait for input, but the output won't show up until after the input is read. Without the input= the external program just gets eof on input. Example, using external ftp program (yes, I know there's a ftp task): <target name="foo"> <exec executable="ftp" input="/dev/tty"> <arg value="my.ftp.server"/> </exec> </target> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]