Use gopsutil for cross-platform process detection

Replace pgrep with gopsutil/v4 for pure Go process detection.
Now fully cross-platform (Linux, FreeBSD, macOS, Windows) with
zero external exec calls. Add Taskfile and test fixture.
This commit is contained in:
2025-12-18 05:41:19 +01:00
parent f1ca1ccaa0
commit 1cca87af90
6 changed files with 172 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,6 +1,8 @@
/statusline
/bin
/.task
# Created by https://gitignore.kjanat.com/api/go,linux
# Edit at https://gitignore.kjanat.com?templates=go,linux