pinokiod 3.19.36 → 3.19.37
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 +3 -0
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -975,7 +975,9 @@ class Shell {
|
|
|
975
975
|
}
|
|
976
976
|
async exec(params) {
|
|
977
977
|
params = await this.activate(params)
|
|
978
|
+
console.log("#Exec 1", { params })
|
|
978
979
|
this.cmd = this.build(params)
|
|
980
|
+
console.log("#Exec 2", { cmd: this.cmd })
|
|
979
981
|
let res = await new Promise((resolve, reject) => {
|
|
980
982
|
this.resolve = resolve
|
|
981
983
|
this.reject = reject
|
|
@@ -1252,6 +1254,7 @@ ${cleaned}
|
|
|
1252
1254
|
this.params.onready()
|
|
1253
1255
|
}
|
|
1254
1256
|
if (this.ptyProcess) {
|
|
1257
|
+
console.log("ptyProcess.write", { cmd: this.cmd, eol: this.EOL })
|
|
1255
1258
|
this.ptyProcess.write(`${this.cmd}${this.EOL}`)
|
|
1256
1259
|
// setTimeout(() => {
|
|
1257
1260
|
// this.ptyProcess.write('\x1B[?2004h');
|