We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc11c1c + 535ba78 commit 66b613dCopy full SHA for 66b613d
lib/dtutils/system.lua
@@ -78,10 +78,6 @@ dtutils_system.libdoc.functions["windows_command"] = {
78
Copyright = [[]],
79
}
80
81
-local function _quote_windows_command(command)
82
- return "\"" .. command .. "\""
83
-end
84
-
85
function dtutils_system.windows_command(command)
86
local result = 1
87
@@ -91,7 +87,6 @@ function dtutils_system.windows_command(command)
91
if file then
92
88
dt.print_log("opened file")
93
89
command = string.gsub(command, "%%", "%%%%") -- escape % from windows shell
94
- command = _quote_windows_command(command)
95
90
file:write(command)
96
file:close()
97
0 commit comments