diff options
Diffstat (limited to 'modules/textadept/filter_through.lua')
-rw-r--r-- | modules/textadept/filter_through.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/filter_through.lua b/modules/textadept/filter_through.lua index 35123194..bb55f444 100644 --- a/modules/textadept/filter_through.lua +++ b/modules/textadept/filter_through.lua @@ -52,7 +52,7 @@ events.connect(events.COMMAND_ENTRY_COMMAND, function(text) local f = io.open(tmpfile, 'wb') f:write(input) f:close() - local cmd = table.concat({ cat, '"'..tmpfile..'"', '|', text }, ' ') + local cmd = cat..' "'..tmpfile..'" | '..text if WIN32 then cmd = cmd:gsub('/', '\\') end local p = io.popen(cmd) if s ~= e then |