Blog: 2023-09-06: Difference between revisions

From razwiki
Jump to navigation Jump to search
(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'")
 
No edit summary
Line 1: Line 1:
How pass decryption password to weechat using expect
How pass decryption password to weechat using expect



$ env WEECHATPASS=(pass weechat) expect -c '
$ env WEECHATPASS=(pass weechat) expect -c '

Revision as of 10:08, 6 September 2023

How pass decryption password to weechat using expect

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