danchoi / vmail

a vim interface for gmail
http://danielchoi.com/software/vmail.html
MIT License
786 stars 60 forks source link

Fix vim invocation on Windows #174

Closed ms11 closed 9 years ago

ms11 commented 10 years ago

Setting environment variables in the command string itself doesn't work on Windows, but system can accept those variables in a hash as it's first argument. Also, I think this is probably the "more correct" way of setting them, not just simply trusting the shell to handle it.

notalex commented 10 years ago

Thanks for the patch. I will test it out and merge it in a few days.

parkr commented 10 years ago

Line 91 will need to be deleted, or have the env vars removed and used in the execution incantation