NaN1488 / sublime-gem-browser

Gem browser for Sublime Text
113 stars 16 forks source link

Quote current path in case the working directory has a space in it. #9

Closed jlaxson closed 11 years ago

jlaxson commented 11 years ago

If the path to the directory of the project has a space in it (i.e. /Users/user/My Development Folder), the spaces are not properly escaped and the shell commands die. Using pipes.quote here, although I think the truly correct way to do this is to pass arrays of arguments to subprocess.popen.

NaN1488 commented 11 years ago

Ok, sounds good to me. Thanks!