@devkong/cli 0.0.5 → 0.0.7

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/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -66765,7 +66765,10 @@ async function spawnCommand(commandText, logger = null, shell = false) {
66765
66765
  logger.debug(commandText);
66766
66766
  const command = commandWithArgs.shift();
66767
66767
  const commandArgs = commandWithArgs;
66768
- const child = (0, import_child_process.spawn)(command, commandArgs, { shell, stdio: ["pipe", "pipe", "pipe"] });
66768
+ const child = (0, import_child_process.spawn)(command, commandArgs, {
66769
+ shell: shell || process.platform !== "win32",
66770
+ stdio: ["pipe", "pipe", "pipe"]
66771
+ });
66769
66772
  let stdout = "";
66770
66773
  let stderr = "";
66771
66774
  child.stdout.on("data", (data) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devkong/cli",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "commonjs",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",