diff --git a/src/commands/init.ts b/src/commands/init.ts index cb6d6b6..4f8956d 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -66,7 +66,7 @@ const packageManagerCommands: { function cmd(cmdStr: string, cwd: string) { return new Promise((resolve, reject) => { const [command, ...args] = cmdStr.split(" "); - const childProcess = spawn(command, args, { cwd, shell: true }); + const childProcess = spawn(command, args, { cwd }); let output = ""; childProcess.stdout.on("data", data => (output += data)); childProcess.stderr.on("data", data => (output += data));