Repository navigation
Releases
Releases · ryanraposo/pb
v0.3.2
- Fixed:
killno longer crashes when printing its summary table. - Fixed: the
killsummary table headers now match their columns. - Fixed: port filter is now exact (
-p 80no longer matches port 8080). - Fixed: name filter matches the full process name (previously it could fail to match names that lsof truncates to 9 characters in its COMMAND column).
- Fixed: sudo is only invoked when killing processes owned by another user.
- Improved: robust parsing of lsof output, including process names containing spaces, IPv6 addresses, and established connections.
- Improved: current-user detection works in non-tty environments such as CI and cron.
- Improved: keep displayed port lists free of duplicates across a process's open connections.
- Improved: a clear error message when
lsofis not installed, instead of a stack trace. - Added: pytest test suite and a CI test workflow.
v0.3.1
v0.3.0
- Enhancement: Added USER and COMMAND fields to the process listing output for more detailed information.
- Enhancement: Introduced the --all flag to prompt for sudo elevation and run lsof with sudo, allowing listing and killing of all processes.
- Enhancement: Improved help dialogues for better clarity and usability.
- Enhancement: Updated command output to display ANY when no process name or port is specified.
- Enhancement: Adjusted the kill command to use sudo for elevated permissions when necessary.
- Enhancement: color coding (root, current user, other)
- Enhancement: sorted output
- Removal: Removed error printing for cleaner output.
v0.2.0
- Enhancement: Added support to list processes without specifying a process name (list command).
- Enhancement: Updated process listing to enclose ports in square brackets for clearer output format.
- Bug Fix: Fixed issue with subprocess error handling in process management operations.