ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vino_hymi <vinoh...@gmail.com>
Subject execute script in background with ANT
Date Sat, 23 Jul 2011 10:42:37 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message