update notification service

This commit is contained in:
MacRimi
2026-03-01 17:24:13 +01:00
parent 3e96a89adf
commit bcf5395868
5 changed files with 302 additions and 159 deletions

View File

@@ -651,7 +651,8 @@ class NotificationManager:
parts = line.strip().split(':')
if len(parts) >= 3:
try:
pid = int(parts[2])
# PID in UPID is HEXADECIMAL
pid = int(parts[2], 16)
os.kill(pid, 0)
return True
except (ValueError, ProcessLookupError, PermissionError):