diff --git a/packages/cli/src/utils.ts b/packages/cli/src/utils.ts index 0d4ad08dd..0d313a87b 100644 --- a/packages/cli/src/utils.ts +++ b/packages/cli/src/utils.ts @@ -16,12 +16,7 @@ export const getProjectRoot = async () => { }; export const runCommand = async (command: string, args: string[], options: SpawnOptions = {}) => { - const isWindows = process.platform === 'win32'; - const child = spawn(command, args, { - stdio: 'inherit', - shell: isWindows, - ...options, - }); + const child = spawn(command, args, { stdio: 'inherit', ...options }); await new Promise((resolve, reject) => { child.once('close', resolve); child.once('error', reject);