Hi, 

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 "runprocess.sh > out.out 2 > err.txt < /dev/null &"'
/>  
</exec>  
<echo> "Done............."</echo> 

Any help? 

-Vinodh

--
View this message in context: 
http://ant.1045680.n5.nabble.com/execute-script-in-background-with-ANT-tp4625842p4625842.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to