問題タブ [pythonw]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - How to stop a python script that is using Timeloop package and is running with pythonw from a .vbs file?
I have a main.py
script that is using the module timeloop
. I think this module is important in this case
then I have a launch.vbs file with the following content
I ran the launch.vbs
But now I cannot stop the script without restarting my Windows or taskkill /IM pythonw.exe /F
I want to do it in a more elegant way.
What I want to achieve
Minimum expectation:
- I can find the running script in Task Manager and then
end task
from there. - create a
cli tool
that can stop this particular script. - Any thing similar to the two above mentioned points. More expectation
- my script will appear here and I can exit it from here.
My script:
More info
When my code runs after 40 seconds as in the code above, a python icon appears in the box that is in the image I showed earlier. and then it suddenly goes away. It comes and goes way every 40 seconds just like that.