Update shell.js

This commit is contained in:
Namhyeon Go 2022-05-04 15:47:29 +09:00 committed by GitHub
parent 571240805e
commit 98eb6bf8f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;