key - ant send yes or no -


i stuck @ thing scenario,

i have batch file upon running ask confirmation " press y/n ". automate batch file using ant. so, code looks this

<exec executable="cmd.exe" dir="${base.dir}" >   <arg line="/c run.bat" /> </exec> 

but have no idea how pass keyboard value 'y' in run time please me out

use input task?


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -