Blog: 2023-09-06

From razwiki
Revision as of 10:08, 6 September 2023 by Razzi (talk | contribs) (Created page with "How pass decryption password to weechat using expect $ env WEECHATPASS=(pass weechat) expect -c ' spawn weechat expect "=> " send -- "$env(WEECHATPASS)\r" interact'")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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'