diff --git a/lua/joshuto.lua b/lua/joshuto.lua index 206500a3..fe9e57e1 100644 --- a/lua/joshuto.lua +++ b/lua/joshuto.lua @@ -76,7 +76,7 @@ local function joshuto(path) -- end os.remove(output_path) - local cmd = string.format('joshuto --file-chooser --output-file %s %s', output_path, path) + local cmd = string.format('joshuto --file-chooser --output-file "%s" "%s"', output_path, path) exec_joshuto_command(cmd) end