Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ensure command to get executable is run only once per session #19606

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

Merged
merged 2 commits into from
Aug 3, 2022
Merged

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Aug 1, 2022

Commands like

> python3 -c "import sys;print(sys.executable)

were not cached. This is run when using python3, python3.9, conda run -n python directly as interpreters.

}
return executable;
} catch (ex) {
traceError(ex);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To ensure we only log errors once and not everytime it's called.

@karrtikr karrtikr added bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary and removed skip tests Updates to tests unnecessary labels Aug 1, 2022
karthiknadig
karthiknadig previously approved these changes Aug 2, 2022
@karrtikr karrtikr merged commit 069bced into main Aug 3, 2022
@karrtikr karrtikr deleted the runonce branch August 3, 2022 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants