pinokiod 3.0.18 → 3.0.20

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.
@@ -30,7 +30,7 @@ class Playwright {
30
30
  await this.kernel.exec({
31
31
  message: [
32
32
  // "npm init -y",
33
- "which npm",
33
+ // "which npm",
34
34
  // "npm config get userconfig",
35
35
  // "npm config get globalconfig",
36
36
  // "npm config list -l --loglevel verbose",
package/kernel/shell.js CHANGED
@@ -461,8 +461,8 @@ class Shell {
461
461
 
462
462
  let delimiter
463
463
  if (this.platform === "win32") {
464
- //delimiter = " && "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
465
- delimiter = " & "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
464
+ delimiter = " && "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
465
+ //delimiter = " & "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
466
466
  } else {
467
467
  delimiter = " ; ";
468
468
  }
@@ -828,7 +828,7 @@ ${cleaned}
828
828
  if (this.ready) {
829
829
  // when ready, watch out for the prompt pattern that terminates with [\r\n ]
830
830
 
831
- let termination_prompt_re = new RegExp(".*--- pinokio shell.run finished [0-9]+ ---.*", "g")
831
+ let termination_prompt_re = new RegExp(".*--- pinokio shell.run finished: [0-9]+ ---.*", "g")
832
832
 
833
833
  //let termination_prompt_re = new RegExp(this.prompt_pattern + "[ \r\n]*$", "g")
834
834
  let line = cleaned.replaceAll(/[\r\n]/g, "")
package/kernel/shells.js CHANGED
@@ -31,13 +31,16 @@ class Shells {
31
31
  let sh = new Shell(this.kernel)
32
32
  let m
33
33
  if (this.kernel.platform === "win32") {
34
- m = "ls"
35
- } else {
36
34
  m = "dir"
35
+ } else {
36
+ m = "ls"
37
37
  }
38
38
  let response = await sh.start({
39
39
  message: m,
40
40
  env: this.kernel.bin.envs({}),
41
+ conda: {
42
+ skip: true
43
+ }
41
44
  }, async (stream) => {
42
45
  process.stdout.write(stream.raw)
43
46
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {