pinokiod 3.2.86 → 3.2.87

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/shell.js +6 -6
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -406,9 +406,9 @@ class Shell {
406
406
  })
407
407
  cb()
408
408
  }, 1)
409
- // term.onExit((result) => {
410
- // console.log("onExit", { result })
411
- // })
409
+ term.onExit((result) => {
410
+ console.log("onExit", { result })
411
+ })
412
412
  term.onData((data) => {
413
413
  if (ready) {
414
414
  queue.push(data)
@@ -693,9 +693,9 @@ class Shell {
693
693
  this.queue.push(data)
694
694
  }
695
695
  });
696
- // this.ptyProcess.onExit((result) => {
697
- // console.log("onExit", result)
698
- // })
696
+ this.ptyProcess.onExit((result) => {
697
+ console.log(">>> exec onExit", result)
698
+ })
699
699
  }
700
700
  } catch (e) {
701
701
  console.log("** Error", e)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.86",
3
+ "version": "3.2.87",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {