From 8c98d71e3dd25968050622bdbdf8213f2e66965d Mon Sep 17 00:00:00 2001 From: sudodoki Date: Wed, 12 Feb 2014 01:37:24 +0200 Subject: [PATCH] Update open.js --- lib/open.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {