ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vino_hymi <>
Subject execute script in background with ANT
Date Sat, 23 Jul 2011 10:42:37 GMT

I am running script in background with exec task in ant file. But the issue
is ant target waits for the script execution to complete. 

But ideally, I want script to execute in background and move further other
targets in build.xml. 

<exec executable="/bin/bash" >  
        <arg line='-c " > out.out 2 > err.txt < /dev/null &"'
<echo> "Done............."</echo> 

Any help? 


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message