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

ExecTask waits regardless of what you are executing

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2003-07-28 10:49 -------
I have fixed this in CVS.
The new attribute is called spawn. When set to true, it means that you want the 
process to run independently of ant.
To make things simple, I have disconnected completely the spawned process from 
ant's stream handlers and logging system.
I have tested my change on Solaris and on Windows 2000 with a simple script 
which does :

rm test.log
sleep 10
touch test.log

the script is still running after ant is finished and the test.log gets written.

here is my xml :

<project name="exec" default="default">
<target name="default">
<exec executable="C:/programme/cygwin/bin/sh.exe" spawn="true" os="Windows 
2000">
   <arg value="C:/dev/testant/titi.sh"/>
</exec>
<exec executable="/usr/bin/sh" spawn="true" os="SunOS">
   <arg value="titi.sh"/>
</exec>
</target>
</project>

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

Reply via email to