From 5e86b286cf366e0db1a361d36dba4dac6d6dd843 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 14 Oct 2018 19:50:17 -0400 Subject: Experimentally move external lspawn module into Lua os module as a patch. --- modules/textadept/editing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/editing.lua') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index b8d7e341..cf449234 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -599,7 +599,7 @@ function M.filter_through(command) }), command) local output = buffer.target_text for i = 1, #commands do - local p = assert(spawn(commands[i])) + local p = assert(os.spawn(commands[i])) p:write(output) p:close() output = p:read('a') or '' -- cgit v1.2.3