From 5ff36fe2ec6d55f94f60d424fd149eb60d486f0a Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Tue, 26 Feb 2019 12:03:04 -0500 Subject: [PATCH] Added a space after the commands and removed quotes in the command invocation. --- lib/dtutils/system.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dtutils/system.lua b/lib/dtutils/system.lua index 418a59d..69a7f69 100644 --- a/lib/dtutils/system.lua +++ b/lib/dtutils/system.lua @@ -120,13 +120,13 @@ dtutils_system.libdoc.functions["launch_default_app"] = { Copyright = [[]], } function dtutils_system.launch_default_app(path) - local open_cmd = "xdg-open" + local open_cmd = "xdg-open " if (dt.configuration.running_os == "windows") then - open_cmd = "start" + open_cmd = "start " elseif (dt.configuration.running_os == "macos") then - open_cmd = "open" + open_cmd = "open " end - return dtutils_system.external_command(open_cmd..' "'..path..'"') + return dtutils_system.external_command(open_cmd .. path) end