Question
Using io.popen to run an executable with a space in its path
So I have an executable which I'm trying to run in a plugin using lua's io.popen. The path has a space in it and I can't for the life of me figure out how to escape the path. I've tried a variety of quotes, single and double and I've tried using gsub to escape the spaces - s = s:gsub( ' ', '\\') - but it's beibng stubborn. Any thoughts appreciated.
MacOs, btw.
