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/menu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/menu.lua') diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index da9703b2..f82d36f6 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -44,7 +44,7 @@ local function set_encoding(encoding) end local function open_page(url) local cmd = (WIN32 and 'start ""') or (OSX and 'open') or 'xdg-open' - spawn(string.format('%s "%s"', cmd, not OSX and url or 'file://'..url)) + os.spawn(string.format('%s "%s"', cmd, not OSX and url or 'file://'..url)) end --- -- cgit v1.2.3