mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Update shell.js
This commit is contained in:
parent
6b55a2d0de
commit
d4214f7f34
10
lib/shell.js
10
lib/shell.js
|
@ -99,12 +99,8 @@ var ShellObject = function() {
|
|||
this.stdout.reload(this.charset);
|
||||
this.stderr.reload(this.charset);
|
||||
|
||||
stdout = (function(s) {
|
||||
return s.length > 1 ? s.substring(1) : '';
|
||||
})(this.stdout.read());
|
||||
stderr = (function(s) {
|
||||
return s.length > 1 ? s.substring(1) : '';
|
||||
})(this.stderr.read());
|
||||
stdout = this.stdout.read();
|
||||
stderr = this.stderr.read();
|
||||
|
||||
//stdout = this.stdout.read();
|
||||
//stderr = this.stderr.read();
|
||||
|
@ -210,7 +206,7 @@ exports.getPathOfMyDocuments = function() {
|
|||
return (new ShellObject()).getPathOfMyDocuments();
|
||||
};
|
||||
|
||||
exports.VERSIONINFO = "Shell interface (shell.js) version 0.3.3";
|
||||
exports.VERSIONINFO = "Shell interface (shell.js) version 0.3.4";
|
||||
exports.AUTHOR = "abuse@catswords.net";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
Loading…
Reference in New Issue
Block a user