diff options
author | 2010-03-30 18:38:11 -0400 | |
---|---|---|
committer | 2010-03-30 18:38:11 -0400 | |
commit | 0e5ee2ac98cf61bf574a6ea06b2e9d2f2e04c53d (patch) | |
tree | 4fda1c5a750c1ccfc369da7a0b8963527e811b07 | |
parent | 1e22ce0e4315462ae62836954a0b2b3745b108e9 (diff) | |
download | textadept-0e5ee2ac98cf61bf574a6ea06b2e9d2f2e04c53d.tar.gz textadept-0e5ee2ac98cf61bf574a6ea06b2e9d2f2e04c53d.zip |
Do not block until help browser is closed; core/ext/menu.lua
-rw-r--r-- | core/ext/menu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ext/menu.lua b/core/ext/menu.lua index 703910e7..8dc44b03 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -330,7 +330,7 @@ local function open_webpage(url) local p = io.popen(cmd) if not p then error(l.MENU_BROWSER_ERROR..url) else p:close() end else - cmd = string.format(MAC and 'open "file://%s"' or 'xdg-open "%s"', url) + cmd = string.format(MAC and 'open "file://%s"' or 'xdg-open "%s" &', url) if os.execute(cmd) ~= 0 then error(l.MENU_BROWSER_ERROR..url) end end end |