Skip to content

Commit

Permalink
Added escaping of path again.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake committed Jan 7, 2011
1 parent 1ef7947 commit 88f14de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/preview.vim
Expand Up @@ -97,7 +97,7 @@ class Preview
child = fork do
grandchild = fork do
[STDOUT, STDERR].each { |io| io.reopen("/dev/null", "w") }
exec [app, path].join(' ')
exec "#{app} #{Regexp.escape(path)}"
end
Process.detach grandchild
end
Expand Down

0 comments on commit 88f14de

Please sign in to comment.