Blog: 2023-09-06

From razwiki
Revision as of 11:08, 6 September 2023 by Razzi (talk | contribs)
Jump to navigation Jump to search

How pass decryption password to weechat using expect

$ env WEECHATPASS=(pass weechat) expect -c '
 spawn weechat
 expect "=> "
 send -- "$env(WEECHATPASS)\r"
 interact'