diff options
Diffstat (limited to 'plugins/openselected.lua')
-rw-r--r-- | plugins/openselected.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/openselected.lua b/plugins/openselected.lua index 5fadbec..321d3e8 100644 --- a/plugins/openselected.lua +++ b/plugins/openselected.lua @@ -15,9 +15,9 @@ command.add("core.docview", { core.log("Opening \"%s\"...", text) if PLATFORM == "Windows" then - os.execute(string.format("start explorer %s", text)) + system.exec("explorer " .. text) else - os.execute(string.format("xdg-open %q &", text)) + system.exec(string.format("xdg-open %q", text)) end end, }) |