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.
- package/kernel/shell.js +6 -6
- 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
|
-
|
|
410
|
-
|
|
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
|
-
|
|
697
|
-
|
|
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)
|