diff options
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r-- | modules/textadept/keys.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index fb7f3ca8..ce23107f 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -79,6 +79,7 @@ M.utils = { cmd = string.format('start "" "%s"', url) local p = io.popen(cmd) if not p then error(L('Error loading webpage:')..url) end + p:close() else cmd = string.format(OSX and 'open "file://%s"' or 'xdg-open "%s" &', url) local _, _, code = os.execute(cmd) |