File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,12 @@ export class BasicExecuteStrategy implements ITerminalExecuteStrategy {
91
91
} ) ) ;
92
92
93
93
// Execute the command
94
+ // IMPORTANT: This uses `sendText` not `runCommand` since when basic shell integration
95
+ // is used as it's more common to not recognize the prompt input which would result in
96
+ // ^C being sent and also to return the exit code of 130 when from the shell when that
97
+ // occurs.
94
98
this . _log ( `Executing command line \`${ commandLine } \`` ) ;
95
- this . _instance . runCommand ( commandLine , true ) ;
99
+ this . _instance . sendText ( commandLine , true ) ;
96
100
97
101
// Wait for the next end execution event - note that this may not correspond to the actual
98
102
// execution requested
You can’t perform that action at this time.
0 commit comments