Skip to content

Commit

Permalink
shQuote arguments for pandoc self-contained
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Aug 11, 2017
1 parent 620c48b commit b84eed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/session/modules/ModuleTools.R
Expand Up @@ -326,7 +326,7 @@

# build the conversion command
pandoc <- file.path(Sys.getenv("RSTUDIO_PANDOC"), "pandoc")
command <- paste(c(pandoc, args), collapse = " ")
command <- paste(shQuote(c(pandoc, args)), collapse = " ")

# setwd temporarily
wd <- getwd()
Expand Down

0 comments on commit b84eed5

Please sign in to comment.