javascript code
var childProcess = require('child_process'); childProcess.exec('wscript.exe C:\\test\\1.vbs', function (error, stdout, stderr) { xui.echo('stdout: ' + stdout); xui.echo('stderr: ' + stderr); if (error !== null) { xui.echo('exec error: ' + error); } });