Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetCompletions should check exit code of invoked application #2137

Open
tmds opened this issue Mar 31, 2023 · 0 comments · May be fixed by #2160
Open

GetCompletions should check exit code of invoked application #2137

tmds opened this issue Mar 31, 2023 · 0 comments · May be fixed by #2160
Labels
Area-Completions Related to support for tab completion bug Something isn't working help wanted Extra attention is needed

Comments

@tmds
Copy link
Member

tmds commented Mar 31, 2023

This code should probably check the exit code and not consider standard output to be completions when it is non-zero:

if (readToEndTask.Wait(timeout))
{
result = readToEndTask.Result;
}

cc @jonsequitur @adamsitnik

@jonsequitur jonsequitur added bug Something isn't working Area-Completions Related to support for tab completion help wanted Extra attention is needed labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Completions Related to support for tab completion bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants