diff --git a/lib/shell.js b/lib/shell.js index 3c40aa6..5343ec8 100644 --- a/lib/shell.js +++ b/lib/shell.js @@ -10,6 +10,9 @@ var ShellObject = function() { this.isElevated = false; this.isFork = false; this.isVisibleWindow = false; + + this.stdout = null; + this.stderr = null; this.create = function() { try { @@ -86,7 +89,10 @@ var ShellObject = function() { FILE.deleteFile(stdErrPath); } - console.log(c); + this.stdout = stdout; + this.stderr = stderr; + + console.log(c); //console.log("[stdout] " + stdout); //console.log("[stderr] " + stderr); @@ -186,6 +192,6 @@ exports.getPathOfMyDocuments = function() { return (new ShellObject()).getPathOfMyDocuments(); }; -exports.VERSIONINFO = "Shell interface (shell.js) version 0.2"; +exports.VERSIONINFO = "Shell interface (shell.js) version 0.3"; exports.global = global; exports.require = global.require;