Prospector not killed on VSCode close
See original GitHub issueEnvironment data
- VS Code version: 1.27.2
- Extension version (available under the Extensions sidebar): 2018.8.0
- OS and version: Linux
- Python version (& distribution if applicable, e.g. Anaconda): python 3.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): pipenv
- Relevant/affected Python packages and their versions: prospector 1.1.2
Actual behavior
Sometimes prospector (because of pylint, see PyCQA/pylint#2198) can take a VERY long time to run. After closing VSCode, prospector continued to run.
Expected behavior
On closing VSCode, the linter should be stopped.
Steps to reproduce:
- I opened one file from pandas, I suspect that vscode started prospector on it (is it actually normal that the linter is run on a file outside my project?)
- I closed VSCode
- A process was continuing to run (and eat all my CPU 😉:
/home/victor/.local/share/virtualenvs/bretl-YRwJFXpT/bin/python -m prospector --absolute-paths --output-format=json frame.py
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Register processes to be killed when extension is unloaded
Prospector not killed on VSCode close #2681 ; Restart of Python launch debug session leaks Code.Helper processes on macOS #3217 ; Multiple pylint...
Read more >why are pylint's error squiggle lines not showing in python ...
In your settings.json file(search for settings.json in the command palette), declare the following: "python.linting.
Read more >2. Command Line Usage — prospector documentation
Prospector will exit with a code of 1 (one) if any messages are found. This makes automation easier; if there are any problems...
Read more >Troubleshoot Terminal launch failures - Visual Studio Code
You can try killing unused programs and processes on your machine in case one of them is keeping a terminal shell process active...
Read more >Black vs yapf vs ??? : r/Python - Reddit
In my experience black is close to perfect but I'm curious if there may be something ... In vscode, just press Alt Shift...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@victornoel yes please.
Closing in favor of https://github.com/Microsoft/vscode-python/issues/3331