pinokiod 3.2.211 → 3.2.213
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/index.js +4 -2
- package/kernel/lproxy.js +0 -1
- package/kernel/shell.js +3 -3
- package/package.json +1 -1
package/kernel/index.js
CHANGED
|
@@ -232,8 +232,10 @@ class Kernel {
|
|
|
232
232
|
arch: this.arch,
|
|
233
233
|
home: this.homedir,
|
|
234
234
|
scripts: [],
|
|
235
|
-
shells: this.shell.shells.map(({ cols, rows, id, group, path, index, cmd, done }) => {
|
|
236
|
-
|
|
235
|
+
shells: this.shell.shells.map(({ vts, stripAnsi, cols, rows, id, group, path, index, cmd, done }) => {
|
|
236
|
+
let buf = vts.serialize()
|
|
237
|
+
let state = stripAnsi(buf)
|
|
238
|
+
return { cols, rows, id, group, path, index, cmd, done, state }
|
|
237
239
|
}),
|
|
238
240
|
proxies: [],
|
|
239
241
|
api: [],
|
package/kernel/lproxy.js
CHANGED
package/kernel/shell.js
CHANGED
|
@@ -673,7 +673,7 @@ class Shell {
|
|
|
673
673
|
if (env_exists) {
|
|
674
674
|
venv_activation = [
|
|
675
675
|
(this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
|
|
676
|
-
|
|
676
|
+
timeout,
|
|
677
677
|
]
|
|
678
678
|
} else {
|
|
679
679
|
venv_activation = [
|
|
@@ -681,9 +681,9 @@ class Shell {
|
|
|
681
681
|
(this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
|
|
682
682
|
`python -m pip install --upgrade pip setuptools wheel`,
|
|
683
683
|
deactivate_path,
|
|
684
|
-
|
|
684
|
+
timeout,
|
|
685
685
|
(this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
|
|
686
|
-
|
|
686
|
+
timeout,
|
|
687
687
|
]
|
|
688
688
|
}
|
|
689
689
|
} else {
|