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

jQuery Ajax Render Fragments OR Whole Page -

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

java - Simple Command Line calculator -