poljar / weechat-matrix

Weechat Matrix protocol script written in python
Other
957 stars 119 forks source link

Support quoting for command arguments #277

Closed bodqhrohro closed 3 years ago

bodqhrohro commented 3 years ago

I've encountered a problem when trying to use a passphrase with spaces in /olm import. The arguments were just broken by spaces. shlex has more advanced splitting which allows taking multi-word arguments in quotes.

poljar commented 3 years ago

Thanks, merged.