#!/usr/bin/expect spawn pwsafe -e [lindex $argv 0] expect "Enter passphrase for *:" send "\r" interact