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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -