sighmon / mjml-rails

MJML + ERb/Haml/Slim view template
https://mjml.io
Other
300 stars 65 forks source link

Escape path when checking MJML binary version #50

Closed mudge closed 5 years ago

mudge commented 5 years ago

To better support paths with spaces and other characters that need escaping, use the array form of IO.popen's cmd argument which will handle escaping for us.

sighmon commented 5 years ago

@mudge Good catch! Thanks Paul.