@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.
- package/index.js +4 -1
- 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, {
|
|
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) => {
|