This script allows the user to list all running system processes or safely terminate a selected process by name. It uses the psutil library to interact with system-level process information and is intended as a learning project for working with system processes in Python.
- View all running processes
- Kill processes by name (case-insensitive search)
- Handles access errors and missing processes safely
- Interactive command-line menu
- Windows OS
- Python 3.9 or Later
- Psutil (Install)
Run the Script:
python ProcessManager.py- How to iterate over running processes using psutil.process_iter()
- How to use safe termination (p.terminate(), error handling)
- Accepting user input and building simple CLI interfaces
- Looping back to Menu
- Implement Object Orientated Programming
- On Hiatus until I learn more about Python
Terminating critical system processes may cause stability issues. Use this tool responsibly and only terminate processes you understand.