mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update shell.js
This commit is contained in:
parent
a200c51364
commit
fab664d524
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user