question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

false positive terminal launch failure notifications

See original GitHub issue

Type: Bug

using Ctrl+D to close a terminal where the last command exited with a non-zero exit code causes VSCode to notify the user of a terminal launch failure even though no failure occurred

e.g.

% echo hello | grep goodbye
% # press Ctrl+D

should I be closing terminal some other way? can VSCode detect the terminal being closed by the user and not report launch failures?

VS Code version: Code 1.71.0 (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:25:25.516Z) OS version: Darwin arm64 21.6.0 Modes: Sandboxed: No

System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 2, 3, 3
Memory (System) 16.00GB (0.07GB free)
Process Argv –crash-reporter-id 0132e674-27df-435e-9fa2-562b1adbdb94
Screen Reader no
VM 0%
Extensions (47)
Extension Author (truncated) Version
cucumberautocomplete ale 2.15.2
color-info bie 0.7.0
comment-tagged-templates bie 0.3.1
docs-view bie 0.0.11
emojisense bie 0.9.1
folder-source-actions bie 0.2.1
gif-player bie 0.0.2
github-markdown-preview bie 0.3.0
jsdoc-markdown-highlighting bie 0.0.1
markdown-checkbox bie 0.3.2
markdown-emoji bie 0.3.0
markdown-footnotes bie 0.0.7
markdown-image-size bie 0.0.4
markdown-mermaid bie 1.15.2
markdown-preview-github-styles bie 1.0.1
markdown-prism bie 0.0.5
markdown-shiki bie 0.1.1
markdown-yaml-preamble bie 0.1.0
react-native-ios-pack bie 0.0.3
speech bie 0.1.0
scratchpads bue 0.0.8
vscode-markdownlint Dav 0.48.1
vscode-eslint dba 2.2.6
vscode-deno den 3.13.1
gitlens eam 12.2.2
prettier-vscode esb 9.8.0
vscode-pull-request-github Git 0.50.0
vscode-graphql Gra 0.7.4
vscode-graphql-syntax Gra 1.0.4
rest-client hum 0.25.1
swift Kas 0.2.0
vscode-clang mit 0.2.4
vscode-postgresql ms- 0.3.0
live-server ms- 0.4.0
test-adapter-converter ms- 0.1.6
vsliveshare ms- 1.0.5711
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
vscode-react-native msj 1.9.2
vscode-xml red 0.21.2022062916
vscode-yaml red 1.10.1
stately-vscode sta 1.9.3
code-spell-checker str 2.7.2
es6-string-html Tob 2.12.0
vscode-import-cost wix 3.3.0
clang-format xav 1.9.0
local-history xyz 1.8.1
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30557514
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaac:30438847
pylanb8912:30545647
vsclangdf:30486550
c4g48928:30535728
hb751961:30553087
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
meganroggecommented, Sep 7, 2022

As I explained above, that would likely involve monitoring / scanning for input as we don’t currently have a way to detect this case. Since there are viable workarounds, we don’t want to complicate things

1reaction
meganroggecommented, Sep 7, 2022

it is a little odd to me that we’re using the last run command’s exit code though 🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common CSF/LFD False Positives and How to Stop The ...
Now, you should no longer receive notifications regarding the false positive. Ignoring Processes Via WHM. Login to WHM at the following URL ( ......
Read more >
Question 2: Fixing False Positives - Monitoring for Managers
One of most common reasons for false positives is when duration of the issue failed to be taken into consideration. Do you want...
Read more >
Dealing with false alerts in monitoring | Checkmk
IT teams often accept more false alarms rather than risk having a critical system that is down and not alerting and end up...
Read more >
5 tips for reducing false positive security alerts - CSO Online
False positives —or alerts that incorrectly indicate a security threat is present in a specific environment—are a major problem for security ...
Read more >
Handling false positive workbench alerts - Trend Micro Vision ...
In workbench alert view, select the workbench ID you think is false alert. Under the Change Status menu click ✓ Closed - false...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found