You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.94.0
OS Version: macOS Sonoma 14.4
Steps to Reproduce:
Listen for onDidEndTerminalShellExecution events
Run a command that returns some exit code
Type the same command and interrupt with ^C (i.e. interrupt without actually running the command)
The exit code reported by the TerminalShellExecution event for the second execution (expected to be undefined since the command didn't actually run) will be the same as the previous command's exit code
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.96.2. Please try upgrading to the latest version and checking whether this issue remains.
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
onDidEndTerminalShellExecution
eventsTerminalShellExecution
event for the second execution (expected to beundefined
since the command didn't actually run) will be the same as the previous command's exit codeFor example:
From a quick look, this seems like caused by this code (marked as a hack):
vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.ts
Lines 360 to 370 in 3b30f94
The text was updated successfully, but these errors were encountered: