I have a CLI app that prompts for password confirmation twice in a row. Piping a password like this does not work:
echo password | cliapp secure operat