mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update shell.js
This commit is contained in:
parent
571240805e
commit
98eb6bf8f6
10
lib/shell.js
10
lib/shell.js
|
@ -10,6 +10,9 @@ var ShellObject = function() {
|
||||||
this.isElevated = false;
|
this.isElevated = false;
|
||||||
this.isFork = false;
|
this.isFork = false;
|
||||||
this.isVisibleWindow = false;
|
this.isVisibleWindow = false;
|
||||||
|
|
||||||
|
this.stdout = null;
|
||||||
|
this.stderr = null;
|
||||||
|
|
||||||
this.create = function() {
|
this.create = function() {
|
||||||
try {
|
try {
|
||||||
|
@ -86,7 +89,10 @@ var ShellObject = function() {
|
||||||
FILE.deleteFile(stdErrPath);
|
FILE.deleteFile(stdErrPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(c);
|
this.stdout = stdout;
|
||||||
|
this.stderr = stderr;
|
||||||
|
|
||||||
|
console.log(c);
|
||||||
//console.log("[stdout] " + stdout);
|
//console.log("[stdout] " + stdout);
|
||||||
//console.log("[stderr] " + stderr);
|
//console.log("[stderr] " + stderr);
|
||||||
|
|
||||||
|
@ -186,6 +192,6 @@ exports.getPathOfMyDocuments = function() {
|
||||||
return (new ShellObject()).getPathOfMyDocuments();
|
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.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user