Skip to content

Switch from Shellwords.escape call to quoting when saving file to fix saving on windows#9

Closed
jpg0 wants to merge 1 commit intojanfri:masterfrom
jpg0:master
Closed

Switch from Shellwords.escape call to quoting when saving file to fix saving on windows#9
jpg0 wants to merge 1 commit intojanfri:masterfrom
jpg0:master

Conversation

@jpg0
Copy link
Copy Markdown

@jpg0 jpg0 commented May 7, 2013

Using Shellwords.escape leads to failure on windows systems which don't use the same escaping rules as unix. Instead opt to quote strings which should work on both systems (and escape quotes with a backslash).

@janfri
Copy link
Copy Markdown
Owner

janfri commented May 7, 2013

Your solution was not yet complete: you have to escape backslashes also and escape also filenames. I've hopefully fixed the problem in version 1.7.0.

@janfri janfri closed this May 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants