pinokiod 2.15.16 → 2.15.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/kernel/shells.js +8 -0
  2. package/package.json +1 -1
package/kernel/shells.js CHANGED
@@ -29,11 +29,19 @@ class Shells {
29
29
  async init() {
30
30
  // iterate through all the envs
31
31
  let sh = new Shell(this.kernel)
32
+ let m
33
+ if (this.kernel.platform === "win32") {
34
+ m = "ls"
35
+ } else {
36
+ m = "dir"
37
+ }
32
38
  let response = await sh.start({
39
+ message: m,
33
40
  env: this.kernel.bin.envs({}),
34
41
  }, async (stream) => {
35
42
  process.stdout.write(stream.raw)
36
43
  })
44
+ console.log(">>> sh.env =", sh.env)
37
45
  this.kernel.envs = sh.env
38
46
  }
39
47
  async launch(params, options, ondata) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.15.16",
3
+ "version": "2.15.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {