Can we replace the pusutil.pid_exists with another method?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 430
- Forks
- 151
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 1
Description
Hi,
pylink is a greate tool and we use it to test MCU devices.
However I always met some trobules if install it on windows 10 system.
It fails to when installing psutil module and it report missing Visual Studio C++2015...
I have to cost many time to download vistual studio installer and then install C++ build tools.
I checked the code and there only one place to use psutil.pid_exists check pid is alive.
Can we remove the module psutil and replace it with other workaround?
https://stackoverflow.com/questions/568271/how-to-check-if-there-exists-a-process-with-a-given-pid-in-python
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the single psutil.pid_exists call described in the issue and trace how its result is used to determine whether a process is alive. Check the Python dependency and installation configuration, then verify that the replacement works on Windows without requiring psutil and preserves the existing process check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools, embedded-iot
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100