Просмотр исходного кода

Ignore input to the execa terminal process (#9827)

Matt Rubens 4 недель назад
Родитель
Сommit
3178113402
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/integrations/terminal/ExecaTerminalProcess.ts

+ 2 - 0
src/integrations/terminal/ExecaTerminalProcess.ts

@@ -42,6 +42,8 @@ export class ExecaTerminalProcess extends BaseTerminalProcess {
 				shell: true,
 				cwd: this.terminal.getCurrentWorkingDirectory(),
 				all: true,
+				// Ignore stdin to ensure non-interactive mode and prevent hanging
+				stdin: "ignore",
 				env: {
 					...process.env,
 					// Ensure UTF-8 encoding for Ruby, CocoaPods, etc.