mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 07:28:56 +00:00
super short pwd command
This commit is contained in:
parent
17625bd293
commit
aa27d2bebc
1 changed files with 7 additions and 0 deletions
7
wish-sys/sys-part/bin/pwd.js
Normal file
7
wish-sys/sys-part/bin/pwd.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
var PwdClass = function() {
|
||||
}
|
||||
PwdClass.prototype = new Process();
|
||||
PwdClass.prototype.main = function(args) {
|
||||
this.files['stdout'].write(this.Environment.array['PWD'] + "\n");
|
||||
this.exit(0);
|
||||
}
|
Loading…
Reference in a new issue