mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-19 18:40:57 -07:00
fix- windows: add shell: true for spawnSync to fix EINVAL with .cmd editors (#18408)
This commit is contained in:
@@ -3087,6 +3087,7 @@ export function useTextBuffer({
|
||||
setRawMode?.(false);
|
||||
const { status, error } = spawnSync(command, args, {
|
||||
stdio: 'inherit',
|
||||
shell: process.platform === 'win32',
|
||||
});
|
||||
if (error) throw error;
|
||||
if (typeof status === 'number' && status !== 0)
|
||||
|
||||
Reference in New Issue
Block a user