pinokiod 7.1.25 → 7.1.27

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.
Files changed (2) hide show
  1. package/kernel/shell.js +5 -1
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -431,7 +431,11 @@ class Shell {
431
431
  } else {
432
432
  this.supportsBracketedPaste = this.computeBracketedPasteSupport(this.shell)
433
433
  }
434
- if (/bash/i.test(this.shell)) {
434
+ if (this.isCmdShell(this.shell)) {
435
+ this.args = ["/D"]
436
+ } else if (this.isPowerShell(this.shell)) {
437
+ this.args = ["-NoLogo", "-NoProfile"]
438
+ } else if (/bash/i.test(this.shell)) {
435
439
  this.args = ["--noprofile", "--norc"]
436
440
  //this.args = [ "--login", "-i"]
437
441
  this.EOL = "\n"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "7.1.25",
3
+ "version": "7.1.27",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {