bcicen / slackcat

CLI utility to post files and command output to slack
http://slackcat.chat
MIT License
1.22k stars 57 forks source link

Vim plugin fails if the selection contains single quotes #46

Closed zubieta closed 7 years ago

zubieta commented 7 years ago

the call to system fails when s_selection contains single quotes:

let return = system("echo '". s_selection ."' |slackcat -c " . s_channel . " --filetype " . s_lang)
zubieta commented 7 years ago

I believe #47 should be enough to fix the issue