Skip to content

Commit 66b613d

Browse files
authored
Merge pull request darktable-org#497 from wpferguson/remove_quote_windows_command
lib/dtutils/system - remove _quote_windows_command
2 parents cc11c1c + 535ba78 commit 66b613d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/dtutils/system.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ dtutils_system.libdoc.functions["windows_command"] = {
7878
Copyright = [[]],
7979
}
8080

81-
local function _quote_windows_command(command)
82-
return "\"" .. command .. "\""
83-
end
84-
8581
function dtutils_system.windows_command(command)
8682
local result = 1
8783

@@ -91,7 +87,6 @@ function dtutils_system.windows_command(command)
9187
if file then
9288
dt.print_log("opened file")
9389
command = string.gsub(command, "%%", "%%%%") -- escape % from windows shell
94-
command = _quote_windows_command(command)
9590
file:write(command)
9691
file:close()
9792

0 commit comments

Comments
 (0)