From 535ba78a06380c6d29e7a307e3b5a4613ebbec58 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Sun, 21 Jul 2024 22:43:59 -0400 Subject: [PATCH] lib/dtutils/system - remove _quote_windows_command --- lib/dtutils/system.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/dtutils/system.lua b/lib/dtutils/system.lua index 2ec2c313..0df0dee9 100644 --- a/lib/dtutils/system.lua +++ b/lib/dtutils/system.lua @@ -78,10 +78,6 @@ dtutils_system.libdoc.functions["windows_command"] = { Copyright = [[]], } -local function _quote_windows_command(command) - return "\"" .. command .. "\"" -end - function dtutils_system.windows_command(command) local result = 1 @@ -91,7 +87,6 @@ function dtutils_system.windows_command(command) if file then dt.print_log("opened file") command = string.gsub(command, "%%", "%%%%") -- escape % from windows shell - command = _quote_windows_command(command) file:write(command) file:close()