I have a call to Ant exec
task that needs to accept input from console stdin. Unfortunately, I cannot find a way to do this. The stdin filehandle seems closed to console input at runtime.
It is possible to specify input using attributes input
and inputstring
. However, I need to prompt for user input at the console.
How can I do this?