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

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

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

iphone - Using nested NSDictionary with Picker -