pinokiod 3.2.162 → 3.2.163
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 +7 -1
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -662,7 +662,13 @@ class Shell {
|
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
// 3. construct params.message
|
|
665
|
-
params.message = conda_activation.concat(venv_activation).concat(params.message)
|
|
665
|
+
params.message = conda_activation.concat(venv_activation).concat(params.message).map((cmd) => {
|
|
666
|
+
if (this.platform === 'win32') {
|
|
667
|
+
return `call ${cmd}`
|
|
668
|
+
} else {
|
|
669
|
+
return cmd
|
|
670
|
+
}
|
|
671
|
+
})
|
|
666
672
|
return params
|
|
667
673
|
}
|
|
668
674
|
async exec(params) {
|