diff --git a/lib/shell.js b/lib/shell.js index 53e9853..ab57afa 100644 --- a/lib/shell.js +++ b/lib/shell.js @@ -31,5 +31,5 @@ exports.run = function(cmd, fork) { var WSH = CreateObject("WScript.Shell"); var fork = (typeof(fork) !== "undefined") ? fork : true; var c = "%comspec% /q /c " + cmd; - WSH.Run(cmd, 0, !fork); + WSH.Run(c, 0, !fork); };