diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-02-25 18:19:43 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-02-25 18:19:43 -0500 |
commit | a2e6b6b52593bd02e0de53580206fb6942643bda (patch) | |
tree | 27d36513072b09868cfee989572c45e8dbdf6ed5 /src | |
parent | bda93eb2b8e40c0c4a01ab9634f1fb43feb63f05 (diff) | |
download | lite-xl-plugin-manager-a2e6b6b52593bd02e0de53580206fb6942643bda.tar.gz lite-xl-plugin-manager-a2e6b6b52593bd02e0de53580206fb6942643bda.zip |
Unescaped backslashes.
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 2955e68..f13e662 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1396,7 +1396,7 @@ function Bottle:run(args) local path = self.local_path .. PATHSEP .. "lite-xl" .. EXECUTABLE_EXTENSION if not system.stat(path) then error("cannot find bottle executable " .. path) end local line = path .. (#args > 0 and " " or "") .. table.concat(common.map(args, function(arg) - return "'" .. arg:gsub("'", "'\"'\"'") .. "'" + return "'" .. arg:gsub("'", "'\"'\"'"):gsub("\\", "\\\\") .. "'" end), " ") log_action("Running " .. line) return os.execute(line) |