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=26852>.
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=26852

Exec task blocks when spawned





------- Additional Comments From [EMAIL PROTECTED]  2004-02-11 17:37 -------
I hacked a patch for src/main/org/apache/tools/ant/taskdefs/Execute.java which
pumps stdout and stderr of the spawned process to a dummy OutputStream. The
stdin of process is closed. Works fine. 

Also look at the javadoc of java.lang.Process which recommends this behaviour.

When the Ant JVM exits, the other process might get some kind of "IOExecption"
since the pipe between the processed is closed. But this depends on the OS.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to