Added support for supplying a command to provide a PIN via standard output