Closed bryantAXS closed 11 years ago
I think one each thing I've seen done is something like this: (not an exact copy/paste)
runner "echo '\n\n\n\n' | command that needs enter"
Other than something like that there is currently no built in way to provide input to remote commands.
Yep, that did the trick, Thanks!
Same for some pecl
commands, I've used the following there:
printf "\n" | pecl install yaml
I've found a few PPA apt repositories that ask for user input like so:
"Press [ENTER] to continue or ctrl-c to cancel adding it"
Is there a way to detect and send back an Enter response?