diff --git a/lib/open.js b/lib/open.js index aa23a3e..4c56953 100644 --- a/lib/open.js +++ b/lib/open.js @@ -52,7 +52,7 @@ function open(target, appName, callback) { break; } - return exec(opener + ' "' + escape(target) + '"', callback); + return exec('"' + escape(opener) + '" "' + escape(target) + '"', callback); } function escape(s) {