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 23893] - EXEC hangs until all processes launched from within .bat file finish.
Date Fri, 17 Oct 2003 20:55:01 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=23893>.
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=23893

EXEC hangs until all processes launched from within .bat file finish.





------- Additional Comments From antoine@apache.org  2003-10-17 20:55 -------
You need to redirect the stdout and stderr generated by the .bat.
Also, can you show your build file ?
The executable for a bat file should be cmd.exe.

<exec executable="cmd.exe" spawn="true">
<arg value="/C"/>
<arg value="my.bat"/>
<arg value=">NUL"/>
<arg value="2>&1"/>
</exec>

this should work assuming that my.bat is the name of your batch.

Cheers,
Antoine

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


Mime
View raw message